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
Callback
load( )
This function is called exacly once at the beginning of the game. This is where resources such as images and sounds should be loaded.
Usage
function load( ) ... end
Arguments
None
Returns
Nothing
Examples
Example 1: function load()
   -- Load stuff here.
   image = love.graphics.newImage("image.png");
   sound = love.audio.newSound("effect.wav");
end