How do I measure Swipe (Touch) Speed

Just started using Construct 2? Post your questions here

Post » Sat Apr 04, 2015 10:27 pm

Hello all,

Sorry if this has been answered previously. I'm having trouble getting the system measure the speed of swipes across the touch screen. I ultimately want to use that value to apply to "Bullet" sprites to give the sensation of flicking objects away at a speed relative to how fast the flick was.

I tried using the "Compare Touch Speed" event but I'm unsure what values it requires. Thanks for any and all responses.
B
5
Posts: 9
Reputation: 243

Post » Sat Apr 04, 2015 10:58 pm

set bullet speed to clamp(Touch.SpeedAt(0),min max)
Image Image
B
163
S
48
G
100
Posts: 7,446
Reputation: 72,014

Post » Sat Apr 04, 2015 11:11 pm

Thanks a bunch :D
B
5
Posts: 9
Reputation: 243

Post » Sun Apr 05, 2015 11:01 am

Learn more with demos:
https://www.dropbox.com/home/Demos
B
212
S
28
G
14
Posts: 1,865
Reputation: 36,879


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 0 guests