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
373
S
218
G
83
Posts: 23,435
Reputation: 185,840

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: Exabot [Bot], Yahoo [Bot] and 9 guests