Difference between revisions of "dt"

m
Line 1: Line 1:
dt is the most common shorthand for deltatime, which is passed through [[love.update]] to let the function know how much time has passed since it was last run.
+
dt is the most common shorthand for delta-time, which is usually passed through [[love.update]] to represent the amount of time which has passed since it was last called. It is in seconds, but because of the speed of modern processors is usually smaller than 1 (values like 0.01 is common).
  
 
== See Also ==
 
== See Also ==

Revision as of 15:55, 26 July 2011

dt is the most common shorthand for delta-time, which is usually passed through love.update to represent the amount of time which has passed since it was last called. It is in seconds, but because of the speed of modern processors is usually smaller than 1 (values like 0.01 is common).

See Also