Hello,
can someone give me advice what is the best way how to use SWF animations on mobile platforms (iOS, Android and Win)?
For developement I use Cocos 2D-X and I want to use animation (just animation without AS) which was created in Adobe Flash. I’m not fan of Adobe Air and it would be best for me if the animation could be converted to some vector format. So I will be able to change, let say, colors from the code without creating new animation.
Is there some good tool for that? What do you use for animation in your games?
thank you for your answers.
David
I create animations in flash then export them as a series of images into a folder, which is mapped to a project in TexturePacker
I can export them at different resolutions to suit different screen resolutions, or export them at high resolution and have TexturePacker scale them (I currently do the latter as it is faster workflow - but will probably do the former once I am at release stage)
Of course this doesn’t help you if you want to change local areas of colour in a sprite; coloring the whole sprite can be done through cocos2d-x though - so that might suffice.
What I have done when needing this sort of thing is to break my sprite down into several small sprites
Say I have a ‘Person’ I will have a head sprite, body sprite, two arm sprites and two leg sprites. If I want the person to change the colour of their legs I just need to replace those sprites, not one large one.
I tend to do this more for animation than for colour thought - so my head sprite has several versions (happy, laughing, sad, asleep) which can be swapped out as required.
It would be lovely if vector graphics were directly supported - but probably too slow.
What I would like to see is the ability to read in a swf file and convert it in-game to bitmaps for animation…