Difference between revisions of "love.timer.step"
m (0.11.0 variant (returns deltaT)) |
m (0.11.0 -> 11.0) |
||
Line 11: | Line 11: | ||
Nothing. | Nothing. | ||
== Function == | == Function == | ||
− | {{newin|[[ | + | {{newin|[[11.0]]|110|type=variant}} |
=== Synopsis === | === Synopsis === | ||
<source lang="lua"> | <source lang="lua"> |
Revision as of 14:17, 22 December 2018
Measures the time between two frames. Calling this changes the return value of love.timer.getDelta.
Contents
Function
Synopsis
love.timer.step( )
Arguments
None.
Returns
Nothing.
Function
Available since LÖVE 11.0 |
This variant is not supported in earlier versions. |
Synopsis
dt = love.timer.step( )
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