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.objects:newAnimation( image )
Usage
love.objects:newAnimation( image )
Arguments
imageThe source Image for the Animation.
Returns
AnimationAn Animation object with no frames.
Examples
Example 1: image = love.objects:newImage("image.png")
anim = love.objects:newAnimation(image)