Page 1 of 1

On Touch through an animation..?

PostPosted: Thu Oct 17, 2013 8:12 am
by phepot
On Touch through an animation and then next touch play the next animation how can we do that..? can someone help me please

Re: On Touch through an animation..?

PostPosted: Thu Oct 17, 2013 8:46 am
by phepot
Loop thru animation on each touch please someone can help please

Re: On Touch through an animation..?

PostPosted: Thu Oct 17, 2013 9:13 am
by LittleStain
Give the object an instance variable animationnumber
name your animations : animation0, animation1, animation2, animation3, etcetera..

on touched object
- play animation : "animation"&object.animationnumber
- add to value animationnumber : 1


Re: On Touch through an animation..?

PostPosted: Thu Oct 17, 2013 9:46 am
by phepot
can you give some sample caps please

Re: On Touch through an animation..?

PostPosted: Thu Oct 17, 2013 9:54 am
by LittleStain
The events described above are simple and few, it shouldn't be hard to create an eventsheet containing these.

A wise man once said:

"You are never going to learn how to change a lightbulb by looking at someone else doing it for you. One day you are going to have to get up on that chair, reach above your head and start turning the damned sucker yourself."
LittleStain2013-10-17 10:22:43

Re: On Touch through an animation..?

PostPosted: Fri Oct 18, 2013 1:15 am
by phepot
lol thank you bro..