Version 0.3.0
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.newParticleSystem( image, buffer )
Usage
love.graphics.newParticleSystem( image, buffer )
Arguments
imageAn Image object.
bufferThe maximum amount of particles that are allowed by the system.
Returns
ParticleSystemA particle system containing the apporpriate information.
Examples
Example 1: Create a simple particle system based on an image. image = love.graphics.newImage("particle.png")
part = love.graphics.newParticleSystem(image, 3000) -- max 3000 particles