Difference between revisions of "love.timer.getMicroTime"

m (1 revision: Importing from potato (again).)
m
 
(7 intermediate revisions by 7 users not shown)
Line 1: Line 1:
 +
{{oldin|[[0.9.0]]|090|type=function|text=[[love.timer.getTime]] is now microsecond-accurate}}
  
Returns the amount of time passed since an unspecified time. The time is accurate to the microsecond, and is limited to 24 hours.
+
Returns the value of a timer with an unspecified starting time. The time is accurate to the microsecond.
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 9: 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]]
 
[[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 ==
 +
{{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