Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
MovieClip or not ? — Gideros Forum

MovieClip or not ?

GregBUGGregBUG Guru
edited June 2012 in General questions

@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)

what do you think ?

is better using solution 1 or 2 ?

:-?
TNT ENGiNE for Gideors Studio - Particle Engine, Virtual Pad, Animator Studio, Collision Engine - DOWNLOAD NOW !!! IT'S FREE!!! -
www.tntengine.com

Comments

Sign In or Register to comment.