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
Type
File
A File should only be needed in these situations:
  • You need to read data directly from a file.
  • You need to write to a file.
In other cases, you can (and must) specify filenames directly when creating objects such as Image, Font and Sound.
Functions
getSize( )Gets the size of the file in bytes.
See also