ParticleSystem:setQuads

ParticleSystem:setQuads Available since LÖVE 0.9.2 This function is not supported in earlier versions. Sets a series of Quads to use for the particle sprites. Particles will choose a Quad from the list based on the particle's current lifetime, allowing for the use of animated sprite sheets with ParticleSystems. Function Synopsis ParticleSystem:setQuads( quad1, quad2, ... ) Arguments Quad quad1 The first Quad to use. Quad quad2 The second Quad to use. Returns Nothing. See Also Particl

ParticleSystem:setRadialAcceleration

ParticleSystem:setRadialAcceleration Set the radial acceleration (away from the emitter). Function Synopsis ParticleSystem:setRadialAcceleration( min, max ) Arguments number min The minimum acceleration. number max (min) The maximum acceleration. Returns Nothing. See Also ParticleSystem ParticleSystem:getRadialAcceleration

ParticleSystem:setRelativeRotation

ParticleSystem:setRelativeRotation Available since LÖVE 0.9.1 This function is not supported in earlier versions. Sets whether particle angles and rotations are relative to their velocities. If enabled, particles are aligned to the angle of their velocities and rotate relative to that angle. Function Synopsis ParticleSystem:setRelativeRotation( enable ) Arguments boolean enable True to enable relative particle rotation, false to disable it. Returns Nothing. See Also ParticleSystem P

ParticleSystem:setRotation

ParticleSystem:setRotation Sets the rotation of the image upon particle creation (in radians). Function Synopsis ParticleSystem:setRotation( min, max ) Arguments number min The minimum initial angle (radians). number max (min) The maximum initial angle (radians). Returns Nothing. See Also ParticleSystem

ParticleSystem:setSize

ParticleSystem:setSize Removed in LÖVE 0.8.0 It has been replaced with ParticleSystem:setSizes. Sets the size of the particle (1.0 being normal size). The particles will grow/shrink from the starting size to the ending size. The variation affects starting size only. Function Synopsis ParticleSystem:setSize( min, max, variation ) Arguments number min The minimum size (1.0 being normal size). number max (min) The maximum size (1.0 being normal size). number variation (1) The degree of var

ParticleSystem:setSizes

ParticleSystem:setSizes Available since LÖVE 0.8.0 It has replaced ParticleSystem:setSize. Sets a series of sizes by which to scale a particle sprite. 1.0 is normal size. The particle system will interpolate between each size evenly over the particle's lifetime. At least one size must be specified. A maximum of eight may be used. Function Synopsis ParticleSystem:setSizes( size1, size2, ..., size8 ) Arguments number size1 The first size. number size2 The second size. number size8 The ei

ParticleSystem:setSizeVariation

ParticleSystem:setSizeVariation Sets the amount of size variation (0 meaning no variation and 1 meaning full variation between start and end). Function Synopsis ParticleSystem:setSizeVariation( variation ) Arguments number variation The amount of variation (0 meaning no variation and 1 meaning full variation between start and end). Returns Nothing. See Also ParticleSystem

ParticleSystem:setSpeed

ParticleSystem:setSpeed Sets the speed of the particles. Function Synopsis ParticleSystem:setSpeed( min, max ) Arguments number min The minimum linear speed of the particles. number max (min) The maximum linear speed of the particles. Returns Nothing. See Also ParticleSystem

ParticleSystem:setSpin

ParticleSystem:setSpin Sets the spin of the sprite. Function Synopsis ParticleSystem:setSpin( min, max ) Arguments number min The minimum spin (radians per second). number max (min) The maximum spin (radians per second). Returns Nothing. Function Removed in LÖVE 0.9.0 Use ParticleSystem:setSpinVariation instead. Synopsis ParticleSystem:setSpin( min, max, variation ) Arguments number min The minimum spin (radians per second). number max (min) The maximum spin (radians per second). nu

ParticleSystem:setSpinVariation

ParticleSystem:setSpinVariation Sets the amount of spin variation (0 meaning no variation and 1 meaning full variation between start and end). Function Synopsis ParticleSystem:setSpinVariation( variation ) Arguments number variation The amount of variation (0 meaning no variation and 1 meaning full variation between start and end). Returns Nothing. See Also ParticleSystem