Difference between revisions of "love.timer.getFPS"

m (1 revision: Imported docs from potato.)
Line 1: Line 1:
  
 
+
Returns the current frames per second.
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 13: Line 13:
 
* [[parent::love.timer]]
 
* [[parent::love.timer]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=}}
+
{{#set:Description=Returns the current frames per second.}}

Revision as of 16:17, 14 February 2010

Returns the current frames per second.

Function

Synopsis

fps = love.timer.getFPS( )

Arguments

None.

Returns

number fps
The current FPS.

See Also