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.
Don't use dt for that, just store the 'time' expression in each event, then subtract them to get the seconds difference.
Develop games in your browser. Powerful, performant & highly capable.
Ok Thanks!