Difference between revisions of "love.timer.getMicroTime"

m
m
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Returns the amount of time passed since an unspecified time. The time is accurate to the microsecond, and is limited to 24 hours.
+
{{oldin|[[0.9.0]]|090|type=function|text=[[love.timer.getTime]] is now microsecond-accurate}}
 +
 
 +
Returns the value of a timer with an unspecified starting time. The time is accurate to the microsecond.
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 8: Line 10:
 
None.
 
None.
 
=== Returns ===
 
=== Returns ===
{{param|number|t|The time passed (in seconds)}}
+
{{param|number|t|The time passed in seconds.}}
 
== See Also ==
 
== See Also ==
 
* [[parent::love.timer]]
 
* [[parent::love.timer]]
 
* [[love.timer.getTime]]
 
* [[love.timer.getTime]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=Returns the amount of time passed since an unspecified time. The time is accurate to the microsecond, and is limited to 24 hours.}}
+
{{#set:Description=Returns the value of a timer with microsecond precision.}}
 +
{{#set:Since=000}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|love.timer.getMicroTime}}
 
{{i18n|love.timer.getMicroTime}}

Latest revision as of 17:18, 6 June 2013

Removed in LÖVE 0.9.0
love.timer.getTime is now microsecond-accurate.


Returns the value of a timer with an unspecified starting time. The time is accurate to the microsecond.

Function

Synopsis

t = love.timer.getMicroTime( )

Arguments

None.

Returns

number t
The time passed in seconds.

See Also


Other Languages