Multiple Touches
Hey All,
I have a behavior set up that when touch is pressed an actor accelerates x amount.
What I can't figure out is how to say after the actor has been pressed once, the second time it is pressed it should destroy the actor.
Thanks in advance.
Cheers
I have a behavior set up that when touch is pressed an actor accelerates x amount.
What I can't figure out is how to say after the actor has been pressed once, the second time it is pressed it should destroy the actor.
Thanks in advance.
Cheers
Comments
so if actor receives touch, set attribute self. touches to self.touches + 1
if self.touches = 1
move faster
if self.touches =2
destroy actor
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left