I want to make an object jump right when it is touched first time. When it is touched again, it jumps left, and with the third touch it jumps straight up. How can i do that?
I tried using a counter i.e
if count == 0, call touch event that makes object jump right
increment count.
if count == 1, call touch event that makes object jump left
increment count
this doesn’t work, the object jumps left (the last touch event) everytime.
any help would be appreciated… [import]uid: 175611 topic_id: 31047 reply_id: 331047[/import]