love.timer

love.timer

Provides high-resolution timing functionality.

Functions

love.timer.getAverageDelta Returns the average delta time over the last second. 0.9.0
love.timer.getDelta Returns the time between the last two frames.
love.timer.getFPS Returns the current frames per second.
love.timer.getMicroTime Returns the value of a timer with microsecond precision. 0.9.0
love.timer.getTime Returns the amount of time since some time in the past. 0.3.2
love.timer.sleep Pauses the current thread for the specified amount of time. 0.2.1
love.timer.step Measures the time between two frames.

See Also


© 2006–2016 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/love.timer

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部