Move to where you touch
Does anyone has a iPad template with the control system move where you touch, such as Air Attack(http://itunes.apple.com/nl/app/airattack-hd/id383659024)
Best Answer
-
Braydon_SFX Posts: 9,273
Put this in the actor you want to move:
when mouse is down
interpolate self.position.x to mouse.position.x
duration 0.2
interpolate self.position.y to mouse.position.y
duration 0.2My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
Answers
Thank you very much!
I didn't tough it was so easy!