|
Kyumars Amat
Registered User
Join date: 30 Apr 2007
Posts: 1
|
07-02-2007 02:08
Hi! I'm wondering what is the best and least lag-susceptible method to play (non-looped) animations in a certain order, so that after the end of the first animation the second will follow immediately. All of that should be controlled by a script, i.e. gestures are not an option. Thanks for you help!
|
|
Meni Kaiousei
knowledgebase junkie
Join date: 6 Nov 2006
Posts: 162
|
07-02-2007 03:59
From: Kyumars Amat Hi! I'm wondering what is the best and least lag-susceptible method to play (non-looped) animations in a certain order, so that after the end of the first animation the second will follow immediately. All of that should be controlled by a script, i.e. gestures are not an option. Thanks for you help! The only thing I can think of is to use a timer event to change the animations. However due to lag and that the animations needs to be loaded to the client (if it is not yet in the cache) it might be not that fluent always. Unfortunately there is no preload command for animations (like for sound files), however animation files are relative small, so maybe the problem is not that big. M.
|
|
Tala Nagy
Registered User
Join date: 22 Mar 2007
Posts: 9
|
07-02-2007 11:30
Hello,
probably one can only work with a timer, but that's rather inaccurate, not very handy and I would fear the lag. Maybe it works when the animations overlap (in- and out-phases) and you trigger the timer a bit before the end of the animation. If you use custom animations you may want to design them eg with a loop at the end, then I could imagine a somewhat smooth transition even when laggy. BTW one can 'preload' animations by fastly cycling through them -- although that creates some strange movements at the beginning.
Bye, Tala
|