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: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: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: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:setLinearDamping

ParticleSystem:setLinearDamping Available since LÖVE 0.9.2 This function is not supported in earlier versions. Sets the amount of linear damping (constant deceleration) for particles. Function Synopsis ParticleSystem:setLinearDamping( min, max ) Arguments number min The minimum amount of linear damping applied to particles. number max (min) The maximum amount of linear damping applied to particles. Returns Nothing. See Also ParticleSystem ParticleSystem:getLinearDamping

ParticleSystem:setOffset

ParticleSystem:setOffset Set the offset position which the particle sprite is rotated around. If this function is not used, the particles rotate around their center. Function Synopsis ParticleSystem:setOffset( x, y ) Arguments number x The x coordinate of the rotation offset. number y The y coordinate of the rotation offset. Returns Nothing. See Also ParticleSystem

ParticleSystem:setParticleLife

ParticleSystem:setParticleLife Removed in LÖVE 0.9.0 It has been renamed to ParticleSystem:setParticleLifetime. Sets the life of the particles. Function Synopsis ParticleSystem:setParticleLife( min, max ) Arguments number min The minimum life of the particles (seconds). number max (min) The maximum life of the particles (seconds). Returns Nothing. See Also ParticleSystem

ParticleSystem:setParticleLifetime

ParticleSystem:setParticleLifetime Available since LÖVE 0.9.0 It has been renamed from ParticleSystem:setParticleLife. Sets the lifetime of the particles. Function Synopsis ParticleSystem:setParticleLifetime( min, max ) Arguments number min The minimum life of the particles (in seconds). number max (min) The maximum life of the particles (in seconds). Returns Nothing. See Also ParticleSystem

ParticleSystem:setPosition

ParticleSystem:setPosition Sets the position of the emitter. Function Synopsis ParticleSystem:setPosition( x, y ) Arguments number x Position along x-axis. number y Position along y-axis. Returns Nothing. See Also ParticleSystem