Difference between revisions of "love.timer.getFPS"

m (added language section)
Line 16: Line 16:
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Returns the current frames per second.}}
 
{{#set:Description=Returns the current frames per second.}}
 
+
{{#set:Since=000}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|love.timer.getFPS}}
 
{{i18n|love.timer.getFPS}}

Revision as of 18:02, 25 March 2011

Returns the current frames per second.

Function

Synopsis

fps = love.timer.getFPS( )

Arguments

None.

Returns

number fps
The current FPS.

Notes

  • getFPS() is known for poor performance, ironically reducing the FPS its designed to measure.

See Also


Other Languages