Limit the Touch
Spivak
Member, PRO Posts: 8
hi i am new in gamesalad
i did that after you touch the screen its count 5 sec until its stop the game but i dont know how to limit it for one touch
so the player now can click again and again and get more 5 secs, how do i solve this?
and my other problem its that when the player touch the actor and the actor get back to the spot he begin the player can touch him again, so i can i limit it for one touch?
btw sorry on my english hope you understood what i meant. thanks
Comments
create a self integer attribute for your actor, name it touch and set it to 1.
i presume you have a rule in your actor going:
when touch is pressed
then do >
countdown from 5
all you have to do is make a few changes:
when touch is pressed
and
attribute self.touch = 1
then do>
countdown from 5
and
change attribute self.touch to 0
now you wont be able to touch that actor again.
GSINVENTION FREE TEMPLATES
hi codemonster
First off thanks
Secondly I use release because if I do I pressed it count the time only when I press
And this is why I can not use your advice, how can I do a countdown mode when player touched only once in pressed mode?
any1?