Hi
I’m building an app with sprite sheet animations. Now hers my problem:
The character should be animated with three (or more) different sprite sheets. Say after intervals of 3 seconds, play animation1 after another 3 seconds play animation2 (in an endless loop). Till here its easy just using a timer.
But when the character is dragged to a specific position (say A) it should play animation3 (and hide the other sprite sheets). How can this be done?
Is there a way to tell the timer to interrupt an action after draging an object and resume its action after , eg. animation3 is played.
Hope its clear enough…
any help much appreciated!
ps: the function is similar to a childrens app called ‘toca band’ --> https://itunes.apple.com/us/app/toca-band/id521640648?mt=8 [import]uid: 145756 topic_id: 32892 reply_id: 332892[/import]