ParticleSystem:setColor

ParticleSystem:setColor Removed in LÖVE 0.8.0 It has been replaced with ParticleSystem:setColors. Sets the color of the image. Function Synopsis ParticleSystem:setColor( r1, g1, b1, a1, r2, g2, b2, a2 ) Arguments number r1 Start color, red component (0-255). number g1 Start color, green component (0-255). number b1 Start color, blue component (0-255). number a1 Start color, alpha component (0-255). number r2 (r1) End color, red component (0-255). number g2 (g1) End color, green compo

ParticleSystem:setAreaSpread

ParticleSystem:setAreaSpread Available since LÖVE 0.9.0 This function is not supported in earlier versions. Sets area-based spawn parameters for the particles. Newly created particles will spawn in an area around the emitter based on the parameters to this function. Function Synopsis ParticleSystem:setAreaSpread( distribution, dx, dy ) Arguments AreaSpreadDistribution distribution The type of distribution for new particles. number dx The maximum spawn distance from the emitter along the

ParticleSystem:reset

ParticleSystem:reset Resets the particle emitter, removing any existing particles and resetting the lifetime counter. Function Synopsis ParticleSystem:reset( ) Arguments None. Returns Nothing. See Also ParticleSystem

ParticleSystem:pause

ParticleSystem:pause Pauses the particle emitter. Function Synopsis ParticleSystem:pause( ) Arguments None. Returns Nothing. See Also ParticleSystem

ParticleSystem:moveTo

ParticleSystem:moveTo Available since LÖVE 0.9.1 This function is not supported in earlier versions. Moves the position of the emitter. This results in smoother particle spawning behaviour than if ParticleSystem:setPosition is used every frame. Function Synopsis ParticleSystem:moveTo( x, y ) Arguments number x Position along x-axis. number y Position along y-axis. Returns Nothing. See Also ParticleSystem

ParticleSystem:isStopped

ParticleSystem:isStopped Available since LÖVE 0.9.0 This function is not supported in earlier versions. Checks whether the particle system is stopped. Function Synopsis stopped = ParticleSystem:isStopped( ) Arguments None. Returns boolean stopped True if system is stopped, false otherwise. See Also ParticleSystem ParticleSystem:isActive ParticleSystem:isPaused

ParticleSystem:isFull

ParticleSystem:isFull Removed in LÖVE 0.9.0 Use ParticleSystem:getCount and ParticleSystem:getBufferSize. Checks whether the particle system is full of particles. Function Synopsis full = ParticleSystem:isFull( ) Arguments None. Returns boolean full True if no more particles can be added, false otherwise. See Also ParticleSystem

ParticleSystem:isPaused

ParticleSystem:isPaused Available since LÖVE 0.9.0 This function is not supported in earlier versions. Checks whether the particle system is paused. Function Synopsis paused = ParticleSystem:isPaused( ) Arguments None. Returns boolean paused True if system is paused, false otherwise. See Also ParticleSystem ParticleSystem:isActive ParticleSystem:isStopped

ParticleSystem:isEmpty

ParticleSystem:isEmpty Removed in LÖVE 0.9.0 Use ParticleSystem:getCount and ParticleSystem:getBufferSize. Checks whether the particle system is empty of particles. Function Synopsis empty = ParticleSystem:isEmpty( ) Arguments None. Returns boolean empty True if there are no live particles, false otherwise. See Also ParticleSystem

ParticleSystem:isActive

ParticleSystem:isActive Checks whether the particle system is actively emitting particles. Function Synopsis active = ParticleSystem:isActive( ) Arguments None. Returns boolean active True if system is active, false otherwise. See Also ParticleSystem ParticleSystem:isPaused ParticleSystem:isStopped