Here's a video taken from the Dancer's sample of C*SDK to check how sprites perform with Gideros. It works smooth. The code for this will be posted soon however you will have to get the image (to avoid any drama's)
@Atilim, but then you need to create each of the frames in advance and set them as the frame images, they are not generated on the fly are they? Just some PRO's and CON's of the two.
The Movie Clip is actually a very powerful and I am not sure how often it is used by devs, but I can see the Flash timeline = MovieClip.
@Atilim, but then you need to create each of the frames in advance and set them as the frame images.
Correct.
Yes MovieClip's are powerful but for simple looping animations - especially long ones, swapping the texture is more efficient.
WhiteTree Games - Home, home on the web, where the bits and bytes they do play! #MakeABetterGame! "Never give up, Never NEVER give up!" - Winston Churchill
Comments
Btw, I will be releasing another version soon that
1. Fixes this bug: http://giderosmobile.com/forum/discussion/comment/11170#Comment_11170
2. Extends the plugin system for future plugins
Author of Learn Lua for iOS Game Development from Apress ( http://www.apress.com/9781430246626 )
Cool Vizify Profile at https://www.vizify.com/oz-apps
Author of Learn Lua for iOS Game Development from Apress ( http://www.apress.com/9781430246626 )
Cool Vizify Profile at https://www.vizify.com/oz-apps
http://howto.oz-apps.com/2012/09/gideros-set-sprites-on-fire.html
If you like it, you can say thank you by following me on twitter @ozapps
Author of Learn Lua for iOS Game Development from Apress ( http://www.apress.com/9781430246626 )
Cool Vizify Profile at https://www.vizify.com/oz-apps
this would help to speedup my animation system...
BTW
MovieClip (internally) is already using this feature? (i meat to swap textures of sprites?)
www.tntengine.com
@GregBUG In fact, MovieClip directly draws the sprite therefore it's faster than this feature.
The Movie Clip is actually a very powerful and I am not sure how often it is used by devs, but I can see the Flash timeline = MovieClip.
Author of Learn Lua for iOS Game Development from Apress ( http://www.apress.com/9781430246626 )
Cool Vizify Profile at https://www.vizify.com/oz-apps
Yes MovieClip's are powerful but for simple looping animations - especially long ones, swapping the texture is more efficient.
#MakeABetterGame! "Never give up, Never NEVER give up!" - Winston Churchill
original is here...
http://www.giderosmobile.com/forum/discussion/comment/5731#Comment_5731
cheers
evs