|
Posted By
|
Message
|
 DerbiaN
Registered 3/27/2003
Points 512
|
19th July, 2004 at 11:55:18 AM -
Does anybody know if there's a way to finish a long animation of an active object instantly, instead of waiting for it to finish. The reason why it would be useful is that after the animation is finished, it is released from being redrawn and will be much faster. The problem is that if your object has say 50 animation frames, it'll take some time to finish, even if the anim speed is 100.
The best way I have found so far is to change its animation frame to the last frame and then use "restore animation frame" to get the animation moving again. This way it works almost perfectly, finishing 1 loop after triggered, but does still not finish on the same loop, which means the other events will have to be started one loop later and there will be a one-loop-long but still noticeable flash of the last anim frame.
n/a
|
 defenestrator Old
Registered 7/12/2003
Points 724
|
19th July, 2004 at 12:10:32 PM -
I still have no idea when this would be useful to do, but I guess you could try a fastloop and just force the object's animation frame to its frame+1 until it's done.
Or, I suppose you could have the object start invisible, then become visible when its animation is done. Depends on what you're looking for, I guess.
n/a
|
 JonWoG Possibly Insane
Registered 8/1/2002
Points 2535
|
19th July, 2004 at 5:20:44 PM -
What the hell are you talking about?
tel them i hav a diz33z.
tel them i hav...
SUP3R CANSIR!
|
 RapidFlash Savior of the Universe
Registered 5/14/2002
Points 2713
|
19th July, 2004 at 8:46:13 PM -
Couldn't you just change the animation sequence instead?
http://www.klik-me.com
|
 Assault Andy Administrator
I make other people create vaporware
Registered 7/29/2002
Points 5683
    
|
21st July, 2004 at 2:31:23 AM -
I'm with JonWog, Wtf Mate?
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy
|
|
|
|