ParticleSystem:getY

ParticleSystem:getY Removed in LÖVE 0.9.0 Use ParticleSystem:getPosition. Gets the y-coordinate of the particle emitter's position. Function Synopsis y = ParticleSystem:getY( ) Arguments None. Returns number y Position along y-axis. 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: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: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: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

PrismaticJoint:isMotorEnabled

PrismaticJoint:isMotorEnabled Checks whether the motor is enabled. Function Synopsis enabled = PrismaticJoint:isMotorEnabled( ) Arguments None. Returns boolean enabled True if enabled, false if disabled. See Also PrismaticJoint

(File):setBuffer

(File):setBuffer Available since LÖVE 0.9.0 This function is not supported in earlier versions. Sets the buffer mode for a file opened for writing or appending. Files with buffering enabled will not write data to the disk until the buffer size limit is reached, depending on the buffer mode. File:flush will force any buffered data to be written to the disk. Function Synopsis success, errorstr = File:setBuffer( mode, size ) Arguments BufferMode mode The buffer mode to use. number size (0)

Contact:getRestitution

Contact:getRestitution Get the restitution between two shapes that are in contact. Function Synopsis restitution = Contact:getRestitution( ) Arguments None. Returns number restitution The restitution between the two shapes. See Also Contact

Source:isPlaying

Source:isPlaying Available since LÖVE 0.9.0 This function is not supported in earlier versions. Returns whether the Source is playing. Function Synopsis playing = Source:isPlaying( ) Arguments None. Returns boolean playing True if the Source is playing, false otherwise. See Also Source

Joint:getUserData

Joint:getUserData Available since LÖVE 0.9.2 This method is not supported in earlier versions. Returns the Lua value associated with this Joint. Use this function in one thread and one thread only. Using it in more threads will make Lua cry and most likely crash. Function Synopsis value = Joint:getUserData( ) Arguments None. Returns any value The Lua value associated with the Joint. See Also Joint Joint:setUserData