How do I measure drag speed?

Get help using Construct 2

Post » Fri Apr 04, 2014 12:32 pm

So I'm going to be creating a file that uses the player's thumb to control a sword on screen at an off-set. It's not using the drag behavior, but when in touch, the sword is to mimic X,Y coordinates of the plalyer's finger at an off-set. I would like to measure the speed of the sword that is in control of the player's finger, so I can decide whether it was strong enough to "Cut" something, but i do not know how, any ideas?
B
35
S
5
Posts: 411
Reputation: 3,406

Post » Fri Apr 04, 2014 1:13 pm

@bscarl88,

you can mesure the drag speed, by using the touch speed function, the easy way for you to be able to check in real time, is to create a debug text and everytick ask it to display the touchspeed.
B
4
G
1
Posts: 35
Reputation: 595

Post » Sun Apr 06, 2014 11:23 am

ah awesome! Just found out how to use it, thanks!
B
35
S
5
Posts: 411
Reputation: 3,406


Return to How do I....?

Who is online

Users browsing this forum: corporatedrone, newt and 25 guests