Time Deltas

Get help using Construct 2

Post » Wed Sep 28, 2011 2:52 pm

Hi Guys,

I found refrenced to dt (delta time). But I can't work out how to use it.

I'd like to calculate how much time has elapsed between a sprite being created and the left click of a mouse.ShabbyCat2011-09-28 14:52:39
B
15
S
1
G
3
Posts: 47
Reputation: 1,912

Post » Wed Sep 28, 2011 3:02 pm

Don't use dt for that, just store the 'time' expression in each event, then subtract them to get the seconds difference.
Scirra Founder
B
359
S
214
G
72
Posts: 22,951
Reputation: 178,578

Post » Wed Sep 28, 2011 4:22 pm

Ok Thanks!
B
15
S
1
G
3
Posts: 47
Reputation: 1,912


Return to How do I....?

Who is online

Users browsing this forum: flemmig, Matthew de, semaso, Skebab, Virpoja and 16 guests