Game Development Community

OnAnimationLoop?

by Luke D · in Torque Game Builder · 05/29/2005 (11:15 am) · 2 replies

Would it be possible to get an onAnimationLoop callback for looped animations? And/or have an AnimatedSprite flag that causes looped animation re-starts to trigger onAnimationEnd (this seems less of a processing waste)?

There are a bunch of cases where I have come across where this would be useful, including synching audio to a looped animation, a quick way to repeate an animation a certain number of times, etc.

#1
05/30/2005 (3:55 am)
Just to let you know, there is considerable work to be done on the animation system anyway and this kind of functionality is covered in it. :)

- Melv.
#2
05/30/2005 (10:04 am)
I can't wait to see what's over the horizon! I've implemented a myriad of blend/animation/emitter/sound management routines that work well enough for my first project, but a robust set of core engine implementations will speed development up wonderfully for future endeavors.

Still it is pretty darn amazing what we can already accomplish in a short amount of time thanks to the existing core functionality. As an old Particle Illusion user, the particle system alone brings me great joy. :)


Luke