Playmaker Forum
PlayMaker Help & Tips => iOS Help => Topic started by: HaraldsVeiss on January 25, 2014, 04:49:57 PM
-
Hello!
I am making a game, that requires swipe to move. What I mean is, when I swipe left I want my character to move left till the end of the screen.
I can't quite figure it out. Its probably very easy, but since I'm new to this, I haven't noticed the right action.
Best,
Haralds
-
Check out the Swipe Gesture Event.
When a swipe is detected based on a minimum distance it will send one of 4 events, Swipe Left, Swipe Right, Swipe Up or Swipe Down.
-
Oh yeah, thats what I needed! Thank you!
What action would you suggest for movement in iOS after the swipe is detected?
H.
-
I will explain what I have set up at this time.
I have swipe gesture event, it is working as it should. The problem is with the movement, I can't figure out, how to make my character to move with constant speed up when player swipes up, when swipes left character changes direction and moves left, in constant speed.
Can someone help?
Best,
Haralds
-
Hi!
I already solved it, if someone has similar problem tell me. I will explain how I did it.
Best,
Haralds
-
Hi!
I already solved it, if someone has similar problem tell me. I will explain how I did it.
Best,
Haralds
Great please share it! I'm having this problem :)