Difference between revisions of "love.timer.getFPS"

m (added note about getFPS()'s performance)
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.}}
 +
 +
== Other Languages ==
 +
{{i18n|love.timer.getFPS}}

Revision as of 17:34, 16 November 2010

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