Version 0.2.0
LÖVE Documentation
OverviewLicenceCreditsGetting started
Devices
love.objectslove.graphicslove.audiolove.keyboardlove.mouselove.filesystemlove.timer
Types
AnimationColorFontImageMusicSound
Callbacks
loadupdatedrawmousepressedmousereleasedkeypressedkeyreleased
Miscellaneous
ConstantsConfig filesKeyboard shortcuts
Type
Image
Images are created using functions in love.objects, and drawn on screen using functions in love.graphics. Images do currently not exist in memory after they are created as GPU textures, thus methods for reading single pixel colors and similar are not available.

Supported image formats:
  • PNG
  • BMP
  • GIF
  • JPEG
  • LBM
  • PCX
  • PNM
  • TGA
  • XCF
  • XPM
  • XV
  • (And probably not TIFF)
Functions
getWidth( )Gets the width of the image.
getHeight( )Gets the height of the image.
setCenter( x, y )Changes the center of the Image.