Hi all,
I’m trying to use spriteloq aka animo as our graphics guys are used to flash.
Animo seems to be the only tool that can export both spritesheets and animation data from swfs.
So far, it works fine but little issues remain:
Animo is somehow built to be used with the library that comes with it. As much as I appreciate the working code, I’d really rather use my own for 2 reasons:
-
the library is too complex for my rather basic applications, where much of the complexity comes from the fact that…
-
…it uses the old sprite api, I’d like to use the new one
I try to map the old sheet generation (viasprite.newSpriteSheetFromData() ) to new sheet generation (via graphics.newImageSheet() ) with the following equivalences:
(using ‘coordinate data’ for old api and ‘complex options’ for new api respectively)
sprite.newSpriteFromData <-> graphics.newSprite()
spriteSourceSize.width <-> sourceWidth/Height
textureRect.x/y/width <-> x/y/width
spriteColorRect.x/y <-> sourceX/Y
it works mostly, but I get different results when comparing both methods: With the new api and same coordinates I get shaky and blurred animations for some of the sprites. Is there something I forgot?
Is there a specific reason why most of the sprite sheet generators usesthe old sprite api?
thanks in advance, johannes