Difference between revisions of "love.timer"
m (other languages) |
|||
Line 1: | Line 1: | ||
Provides an interface to the user's clock. | Provides an interface to the user's clock. | ||
− | |||
== Functions == | == Functions == | ||
{{#ask: [[Category:Functions]] [[parent::love.timer]] | {{#ask: [[Category:Functions]] [[parent::love.timer]] | ||
Line 6: | Line 5: | ||
| ?Description | | ?Description | ||
}} | }} | ||
+ | == See Also == | ||
+ | * [[parent::love]] | ||
[[Category:Modules]] | [[Category:Modules]] | ||
{{#set:Description=Provides an interface to the user's clock.}} | {{#set:Description=Provides an interface to the user's clock.}} | ||
− | + | {{#set:Since=000}} | |
− | |||
− | |||
− | |||
== Other Languages == | == Other Languages == | ||
{{i18n|love.timer}} | {{i18n|love.timer}} |
Revision as of 18:02, 25 March 2011
Provides an interface to the user's clock.
Functions
love.timer.getAverageDelta | Returns the average delta time over the last second. |
love.timer.getDelta | Returns the time between the last two frames. |
love.timer.getFPS | Returns the current frames per second. |
love.timer.getMicroTime | Returns the value of a timer with microsecond precision. |
love.timer.getTime | Returns the precise amount of time since some time in the past. |
love.timer.sleep | Pauses the current thread for the specified amount of time. |
love.timer.step | Measures the time between two frames. |
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