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

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