Difference between revisions of "love.timer.getDelta"

m
Line 13: Line 13:
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Returns the time between the last two frames.}}
 
{{#set:Description=Returns the time between the last two frames.}}
 +
{{#set:Since=000}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|love.timer.getDelta}}
 
{{i18n|love.timer.getDelta}}

Revision as of 18:02, 25 March 2011

Returns the time between the last two frames.

Function

Synopsis

dt = love.timer.getDelta( )

Arguments

None.

Returns

number dt
The time passed (in seconds).

See Also


Other Languages