ParticleSystem:setLinearAcceleration

ParticleSystem:setLinearAcceleration Available since LÖVE 0.9.0 It has replaced ParticleSystem:setGravity. Sets the linear acceleration (acceleration along the x and y axes) for particles. Every particle created will accelerate along the x and y axes between xmin,ymin and xmax,ymax. Function Synopsis ParticleSystem:setLinearAcceleration( xmin, ymin, xmax, ymax ) Arguments number xmin The minimum acceleration along the x axis. number ymin The minimum acceleration along the y axis. number

ParticleSystem:setLifetime

ParticleSystem:setLifetime Removed in LÖVE 0.9.0 It has been renamed to ParticleSystem:setEmitterLifetime. Sets how long the particle system should emit particles (if -1 then it emits particles forever). Function Synopsis ParticleSystem:setLifetime( life ) Arguments number life The lifetime of the emitter (in seconds). Returns Nothing. See Also ParticleSystem

ParticleSystem:setImage

ParticleSystem:setImage Available since LÖVE 0.9.0 It has been renamed from ParticleSystem:setSprite. Removed in LÖVE 0.10.0 Use ParticleSystem:setTexture instead. Sets the image to be used for the particles. Function Synopsis ParticleSystem:setImage( image ) Arguments Image image An Image to use for the particles. Returns Nothing. See Also ParticleSystem

ParticleSystem:setInsertMode

ParticleSystem:setInsertMode Available since LÖVE 0.9.0 This function is not supported in earlier versions. Sets the mode to use when the ParticleSystem adds new particles. Function Synopsis ParticleSystem:setInsertMode( mode ) Arguments ParticleInsertMode mode The mode to use when the ParticleSystem adds new particles. Returns Nothing. See Also ParticleSystem ParticleSystem:getInsertMode

ParticleSystem:setEmissionRate

ParticleSystem:setEmissionRate Sets the amount of particles emitted per second. Function Synopsis ParticleSystem:setEmissionRate( rate ) Arguments number rate The amount of particles per second. Returns Nothing. See Also ParticleSystem

ParticleSystem:setEmitterLifetime

ParticleSystem:setEmitterLifetime Available since LÖVE 0.9.0 It has been renamed from ParticleSystem:setLifetime. Sets how long the particle system should emit particles (if -1 then it emits particles forever). Function Synopsis ParticleSystem:setEmitterLifetime( life ) Arguments number life The lifetime of the emitter (in seconds). Returns Nothing. See Also ParticleSystem

ParticleSystem:setGravity

ParticleSystem:setGravity Removed in LÖVE 0.9.0 It has been replaced by ParticleSystem:setLinearAcceleration. Sets the gravity affecting the particles (acceleration along the y-axis). Every particle created will have a gravity between min and max. Function Synopsis ParticleSystem:setGravity( min, max ) Arguments number min The minimum gravity. number max (min) The maximum gravity. Returns Nothing. See Also ParticleSystem

ParticleSystem:setColors

ParticleSystem:setColors Available since LÖVE 0.8.0 It has replaced ParticleSystem:setColor. Sets a series of colors to apply to the particle sprite. The particle system will interpolate between each color evenly over the particle's lifetime. Arguments can be passed in groups of four, representing the components of the desired RGBA value, or as tables of RGBA component values, with a default alpha value of 255 if only three values are given. At least one color must be specified. A maximum

ParticleSystem:setDirection

ParticleSystem:setDirection Sets the direction the particles will be emitted in. Function Synopsis ParticleSystem:setDirection( direction ) Arguments number direction The direction of the particles (in radians). Returns Nothing. See Also ParticleSystem

ParticleSystem:setBufferSize

ParticleSystem:setBufferSize Sets the size of the buffer (the max allowed amount of particles in the system). Function Synopsis ParticleSystem:setBufferSize( size ) Arguments number size The buffer size. Returns Nothing. See Also ParticleSystem