Hello!
I am using Director, and SpriteGrabber to organize my app, and control sprite playback.
Here is the situation:
I have a ‘dance’ animation with two stages. a ‘predance’ which is the character moving from a standing position to the dance position, and then a ‘dance’ stage that will loop continuously.
My question is, what is the best way to transition between these two stages? If I just line up two events like
boy:playClip("predance")
boy:playClip("dance")
it immediately jumps to the dancing animation. I assume I need to set up a listener to catch the ending of the first animation? or just a timer set to the same time as the duration of the first animation?
Thanks for any help!
Also, if you aren’t familiar:
Director: http://developer.anscamobile.com/code/director-class-10
SpriteGrabber: http://developer.anscamobile.com/code/spritegrabber-spritesheets-two-lines [import]uid: 13801 topic_id: 5908 reply_id: 305908[/import]