Version 0.3.2
LÖVE Documentation
OverviewLicenseCreditsInstallingGetting started
Devices
love.graphicslove.audiolove.keyboardlove.mouselove.filesystemlove.timerlove.system
Types
AnimationColorFontFileImageMusicParticleSystemSound
Callbacks
loadupdatedrawmousepressedmousereleasedkeypressedkeyreleased
Miscellaneous
ConstantsConfig filesKeyboard shortcuts
Device
love.timer
The timer module does very little so far; it keeps track of time between frames, so that we can update game object accordingly, and records the average FPS over the course of one second.
Functions
getFPS( )Gets the current FPS.
getDelta( )Returns the current timestep.
sleep( ms )Delays exection for an amount of time.
getTime( )Gets approximate time since startup.