ParticleSystem:setSpread

ParticleSystem:setSpread Sets the amount of spread for the system. Function Synopsis ParticleSystem:setSpread( spread ) Arguments number spread The amount of spread (radians). Returns Nothing. See Also ParticleSystem

ParticleSystem:setSprite

ParticleSystem:setSprite Removed in LÖVE 0.9.0 It has been renamed to ParticleSystem:setImage. Sets the image which is to be emitted. Function Synopsis ParticleSystem:setSprite( sprite ) Arguments Image sprite An Image to use for the particle. Returns Nothing. See Also ParticleSystem

ParticleSystem:setTangentialAcceleration

ParticleSystem:setTangentialAcceleration Sets the tangential acceleration (acceleration perpendicular to the particle's direction). Function Synopsis ParticleSystem:setTangentialAcceleration( min, max ) Arguments number min The minimum acceleration. number max (min) The maximum acceleration. Returns Nothing. See Also ParticleSystem

ParticleSystem:setTexture

ParticleSystem:setTexture Available since LÖVE 0.9.1 It has been renamed from ParticleSystem:setImage. Sets the texture (Image or Canvas) to be used for the particles. Function Synopsis ParticleSystem:setTexture( texture ) Arguments Texture texture An Image or Canvas to use for the particles. Returns Nothing. See Also ParticleSystem ParticleSystem:getTexture

ParticleSystem:start

ParticleSystem:start Starts the particle emitter. Function Synopsis ParticleSystem:start( ) Arguments None. Returns Nothing. See Also ParticleSystem

ParticleSystem:stop

ParticleSystem:stop Stops the particle emitter, resetting the lifetime counter. Function Synopsis ParticleSystem:stop( ) Arguments None. Returns Nothing. See Also ParticleSystem

ParticleSystem:update

ParticleSystem:update Updates the particle system; moving, creating and killing particles. Function Synopsis ParticleSystem:update( dt ) Arguments number dt The time (seconds) since last frame. Returns Nothing. See Also ParticleSystem

PixelEffect:getWarnings

PixelEffect:getWarnings Available since LÖVE 0.8.0 This function is not supported in earlier versions. Returns any warning messages from compiling the pixel effect code. This can be used for debugging your pixel effects if there's anything the graphics hardware doesn't like. Function Synopsis warnings = PixelEffect:getWarnings( ) Arguments None. Returns string warnings Warning messages (if any). See Also PixelEffect

PixelEffect:send

PixelEffect:send Available since LÖVE 0.8.0 This function is not supported in earlier versions. Sends one or more values to a special (extern) variable inside the pixel effect. Extern variables have to be marked using the extern keyword, e.g. extern number time; extern vec2 light_pos; extern vec4 colors[4]; The corresponding send calls would be effect:send("time", t) effect:send("light_pos", {light_x, light_y}) effect:send("colors", {r1, g1, b1, a1}, {r2, g2, b2, a2}, {r3, g3, b3, a3},

PolygonShape:getPoints

PolygonShape:getPoints Get the local coordinates of the polygon's vertices. This function has a variable number of return values. It can be used in a nested fashion with love.graphics.polygon. Function Synopsis x1, y1, x2, y2, ... x8, y8 = PolygonShape:getPoints( ) Arguments None. Returns number x1 The x-component of the first vertex. number y1 The y-component of the first vertex. number x2 The x-component of the second vertex. number y2 The y-component of the second vertex. And so on,