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