How do I Swipe Control

Get help using Construct 2

Post » Wed Feb 11, 2015 2:13 am

Hello =)
I'm trying to do a command with swipe. Swipe down the player bends down, swipe up he jumps. Works sometimes yes, sometimes no. Can anyone help? Thanks!
You do not have the required permissions to view the files attached to this post.
B
23
S
4
G
2
Posts: 96
Reputation: 2,442

Post » Wed Feb 11, 2015 5:51 pm

Take a look at this modified version of your file. The issue was the separation of the on touch end and swipe speed events. In other words, when you started your swipe, if the swipe action didn't end before the swipe speed event was triggered, the system would have to use the TouchFinal from the previous swipe action so results were incorrect.
You do not have the required permissions to view the files attached to this post.
B
38
S
12
G
11
Posts: 331
Reputation: 7,712

Post » Thu Feb 12, 2015 10:55 pm

thank you, man, works perfectly now =)
B
23
S
4
G
2
Posts: 96
Reputation: 2,442


Return to How do I....?

Who is online

Users browsing this forum: Avenged90x, Baidu [Spider], Buggi, Carlafnt, Congrats2u, ijust8, Lancifer, Phoenixbowman, tetuan, tomquayle and 6 guests