You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 19, 2019. It is now read-only.
-- @return #number dt The time passed (in seconds).
---
-- Returns the current frames per second.
--
--Displaying the FPS with love.graphics.print or love.graphics.setCaption can have an impact on this value. Keep this in mind while benchmarking your game.
-- @function [parent = #timer] getFPS
-- @return #number fps The current FPS.
---
-- Returns the value of a timer with an unspecified starting time. This function should only be used to calculate differences between points in time, as the starting time of the timer is unknown.
-- @function [parent = #timer] getTime
-- @return #number time The time in seconds.
---
-- Sleeps the program for the specified amount of time.
-- @function [parent = #timer] sleep
-- @param #number s Seconds to sleep for.
---
-- Measures the time between two frames. Calling this changes the return value of love.timer.getDelta.