How can i set delay for each frame in an animation?
I am using cocos2d library, and now i have a question, how can i set delay for each frame in an animation? In cocos2d, you can only set a duration on animation, but i want to let different frame stay different time, for instance,
frame1 stay 0.1 second
frame2 stay 0.2 second
frame3 stay 0.15 second
How can i do this?
Another question, can the frame be a sprite? Because i want to add more than one images to each frame.
Thanks for help advanced.
|