Difference between revisions of "love.timer.getDelta"
m (1 revision: Imported docs from potato.) |
m (→See Also: Added link) |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | + | Returns the time between the last two frames. | |
− | |||
== Function == | == Function == | ||
=== Synopsis === | === Synopsis === | ||
Line 12: | Line 11: | ||
== See Also == | == See Also == | ||
* [[parent::love.timer]] | * [[parent::love.timer]] | ||
+ | * [[love.timer.getAverageDelta]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
− | {{#set:Description=}} | + | {{#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
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info