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.draw( particlesystem, x, y )
Usage
love.graphics.draw( particlesystem, x, y )
Arguments
particlesystemA ParticleSystem object.
xThe position on the x-axis.
yThe position on the y-axis.
Returns
Nothing
Examples
Example 1: Create and draw a particle system. image = love.graphics.newImage("image.png")
part = love.graphics.newParticleSystem(image, 3000) -- max 3000 particles
love.graphics.draw(part, 50, 50)