Difference between revisions of "love.timer.getDelta"

m (1 revision: Importing from potato (again).)
m
Line 1: Line 1:
 
 
Returns the time between the last two frames.
 
Returns the time between the last two frames.
 
== Function ==
 
== Function ==
Line 14: 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.}}
 +
== Other Languages ==
 +
{{i18n|love.timer.getDelta}}

Revision as of 20:32, 18 November 2010

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