Duration of touch ?

Get help using Construct 2

Post » Tue Mar 11, 2014 1:17 pm

Hello, after some research I did not find what I want to do:
How to calculate / retrieve the duration of touch? It's possible?

Thank you
B
7
S
1
Posts: 71
Reputation: 642

Post » Tue Mar 11, 2014 1:18 pm

Start a timer when the touch starts, stop it when the touch ends. By 'timer', I mean a variable where you add dt every tick, since there's no object to which to apply the timer behavior.
B
92
S
31
G
24
Posts: 3,191
Reputation: 32,699

Post » Tue Mar 11, 2014 1:22 pm

Good idea. I'll try to do it like that.

Thank you sqiddster
B
7
S
1
Posts: 71
Reputation: 642


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 12 guests