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.system
The system module controls the currently running game and provides information about the running LOVE version. It is not related to the underlying operating system.
Functions
getVersion( )Gets the current LOVE version.
getCodename( )Gets the codename of the current LOVE version.
getPlatform( )Gets the current platform.
exit( )Exits LOVE.
restart( )Restarts the current game.
suspend( )Takes LOVE to the error handler.
resume( )Takes LOVE back to the main game.
grabInput( grab )Sends as much input as possible to LOVE.