How do I Create Character Movement based on Swipe?

Get help using Construct 2

Post » Sun May 25, 2014 3:38 pm

So here is my event

Image

Whenever I tried to swipe up the screen, my character do nothing
When I swipe down, my character just jumping in place for eternity
Any suggestion?


-Edit
I figured out that I'm putting wrong comparation which is should be touch positionYstart > touchpositionyend, that one is solved, now how to make the character only jump for once per swipe?

-Edit
Finally did it, is this a good solution ?
Any opinion ?

Image

I always accidentally move the char to right/left side everytime I try to swipe up, any suggestion?
B
8
S
2
Posts: 203
Reputation: 1,169

Post » Fri Sep 15, 2017 10:33 am

Here an example for your case (hopefully) : https://www.dropbox.com/s/0qurhvd9uoabt ... .capx?dl=0
ImageImage
B
108
S
49
G
23
Posts: 783
Reputation: 22,611


Return to How do I....?

Who is online

Users browsing this forum: mcscooter and 35 guests