Difference between revisions of "love.timer.getDelta"

m (1 revision: Imported docs from potato.)
Line 1: Line 1:
  
 
+
Returns the time between the last two frames.
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 13: Line 13:
 
* [[parent::love.timer]]
 
* [[parent::love.timer]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=}}
+
{{#set:Description=Returns the time between the last two frames.}}

Revision as of 16:17, 14 February 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