You are viewing the web page at the URL http://giderosmobile.com/forum/discussion/1208/movieclip-or-not-/p1,
using the referer http://www.giderosmobile.com/forum/discussion/1208/movieclip-or-not-.
Please click here to view the page
using your own HTTP client's referer capabilities.

@atilim or anyone that has "deep" tested animations with gideros... :-B

as you know i'm making tnt animator studio...now... i'm trying to optimize the code...

but some doubt came in my mind...

1. using movieclip (used simply to draw single sprite and "emulating" timed animation with "MovieClip:gotoAndStop(frame) every n millisecs") i suspect to overload the system because for every frame it dispatches an Event.COMPLETE (imagine a game with 30-50 animated sprites on the screen!) and also the majority of movieclip functionality are not used...

2. using "timed" removechild addchild system like in bird animations example seems to me a more light solution but is 100% lua code (and i think is slower over movieclip that is in the Gideros C++ SDK)

Hmm, in mine understanding of movie clip, the time of each animation "frame" in your studio, could be the amount of same pics you've used in MovieClip.For example, if you have 60 fps, then by inserting 60 same images in MovieClip, you'll get one second long "frame". And if same graphic is reused inside Gideros, wouldn't that be more optimal than using timers?

Hmm, in mine understanding of movie clip, the time of each animation "frame" in your studio, could be the amount of same pics you've used in MovieClip.For example, if you have 60 fps, then by inserting 60 same images in MovieClip, you'll get one second long "frame". And if same graphic is reused inside Gideros, wouldn't that be more optimal than using timers?

yes... movieclip is frame based so if i select 60 same images i'll get one second "frame" but the problem is ... differtent devices different speed... so i decided to go with time based animation (not supported by movieclip) to avoid the differnet speed of devices (android suffer more of this problem).

@scouseryes! she is very understanding wife, but we work for IT company and both (me and her) we Need to connect to internet for check work (even on vacations yes... it's a curse) now she is sleeping with our baby... and i can't sleep (it's very hot temperature here now) so i'm "working" on tnt animator :) eheheheh!!!

Regarding MovieClip, I've also noticed that if I want to jump exactly 10 frames forward from whatever the current frame is I can't do that. I submitted an issue ab out it. Using the Bird Animation code as the basis of controlling frames allows me to jump the 10 frames. So I've debated if MovieClip is useful for what I need.

@atilim yes, it is quite an interesting device, the fps isn't capped at 60. Also because of its slow processor, whenever it tries to play more than 4 sound channel at once, everything will go slower matrix-style ;)