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
Function
love.graphics:draw( sprite, x, y, angle, sx, sy )
Usage
love.graphics:draw( sprite, x, y, angle, sx, sy )
Arguments
spriteAn Image or Animation object.
xThe position on the x-axis.
yThe position on the y-axis.
angleThe angle of rotation (in degrees).
sxThe scale factor along the x-axis.
syThe scale factor along the y-axis.
Returns
Nothing