Difference between revisions of "love.timer.getDelta"

m (1 revision: Importing from potato (again).)
m (See Also: Added link)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
 
Returns the time between the last two frames.
 
Returns the time between the last two frames.
 
== Function ==
 
== Function ==
Line 12: 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}}
 +
 +
== Other Languages ==
 +
{{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