Difference between revisions of "love.timer.getDelta"

m (See Also: Added link)
 
Line 11: Line 11:
 
== See Also ==
 
== See Also ==
 
* [[parent::love.timer]]
 
* [[parent::love.timer]]
 +
* [[love.timer.getAverageDelta]]
 
[[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}}
 
{{#set:Since=000}}
 +
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|love.timer.getDelta}}
 
{{i18n|love.timer.getDelta}}

Latest revision as of 19:55, 1 January 2019

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