ParticleSystem:getLinearAcceleration

ParticleSystem:getLinearAcceleration Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets 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 xmin, ymin, xmax, ymax = ParticleSystem:getLinearAcceleration( ) Arguments Nothing. Returns number xmin The minimum acceleration along the x axis. number ymin The minimum accelera

ParticleSystem:getInsertMode

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

ParticleSystem:getImage

ParticleSystem:getImage Available since LÖVE 0.9.0 This function is not supported in earlier versions. Removed in LÖVE 0.10.0 Use ParticleSystem:getTexture instead. Gets the image used for the particles. Function Synopsis image = ParticleSystem:getImage( ) Arguments Nothing. Returns Image image An Image to use for the particles. See Also ParticleSystem ParticleSystem:setImage

ParticleSystem:getEmitterLifetime

ParticleSystem:getEmitterLifetime Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets how long the particle system will emit particles (if -1 then it emits particles forever). Function Synopsis life = ParticleSystem:getEmitterLifetime( ) Arguments Nothing. Returns number life The lifetime of the emitter (in seconds). See Also ParticleSystem ParticleSystem:setEmitterLifetime

ParticleSystem:getEmissionRate

ParticleSystem:getEmissionRate Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets the amount of particles emitted per second. Function Synopsis rate = ParticleSystem:getEmissionRate( ) Arguments Nothing. Returns number rate The amount of particles per second. See Also ParticleSystem ParticleSystem:setEmissionRate

ParticleSystem:getDirection

ParticleSystem:getDirection Gets the direction of the particle emitter (in radians). Function Synopsis direction = ParticleSystem:getDirection( ) Arguments None. Returns number direction The direction of the emitter (radians). See Also ParticleSystem

ParticleSystem:getCount

ParticleSystem:getCount Available since LÖVE 0.9.0 It has been renamed from ParticleSystem:count. Gets the number of particles that are currently in the system. Function Synopsis count = ParticleSystem:getCount( ) Arguments None. Returns number count The current number of live particles. See Also ParticleSystem ParticleSystem:getBufferSize

ParticleSystem:getColors

ParticleSystem:getColors Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets the series of colors applied to the particle sprite. Function Synopsis r1, g1, b1, a1, r2, g2, b2, a2, ..., r8, g8, b8, a8 = ParticleSystem:getColors( ) Arguments Nothing. Returns number r1 First color, red component (0-255). number g1 First color, green component (0-255). number b1 First color, blue component (0-255). number a1 First color, alpha component (0-255). number r2

ParticleSystem:getBufferSize

ParticleSystem:getBufferSize Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets the maximum number of particles the ParticleSystem can have at once. Function Synopsis size = ParticleSystem:getBufferSize( ) Arguments None. Returns number size The maximum number of particles. See Also ParticleSystem ParticleSystem:setBufferSize ParticleSystem:getCount

ParticleSystem:getAreaSpread

ParticleSystem:getAreaSpread Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets the area-based spawn parameters for the particles. Function Synopsis distribution, dx, dy = ParticleSystem:getAreaSpread( ) Arguments None. Returns AreaSpreadDistribution distribution The type of distribution for new particles. number dx The maximum spawn distance from the emitter along the x-axis for uniform distribution, or the standard deviation along the x-axis for normal