Difference between revisions of "love.timer"
(Applying listings to included added and removed fields.) |
|||
Line 3: | Line 3: | ||
{{#ask: [[Category:Functions]] [[parent::love.timer]] [[Concept:Current]] | {{#ask: [[Category:Functions]] [[parent::love.timer]] [[Concept:Current]] | ||
| headers=hide | | headers=hide | ||
+ | | format=template | ||
+ | | template=ListingFields | ||
+ | | introtemplate=ListingIntro | ||
+ | | outrotemplate=ListingOutro | ||
| ?Description | | ?Description | ||
+ | | ?PrettySince | ||
+ | | ?PrettyRemoved | ||
}} | }} | ||
== See Also == | == See Also == |
Revision as of 23:10, 29 March 2013
Provides an interface to your system's clock.
Functions
love.timer.getAverageDelta | Returns the average delta time over the last second. | 0.9.0 | |
love.timer.getDelta | Returns the time between the last two frames. | ||
love.timer.getFPS | Returns the current frames per second. | 0.2.1 | |
love.timer.getMicroTime | Returns the value of a timer with microsecond precision. | 0.9.0 | |
love.timer.getTime | Returns the precise amount of time since some time in the past. | 0.3.2 | |
love.timer.sleep | Pauses the current thread for the specified amount of time. | 0.2.1 | |
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