Channel:peek

Channel:peek Available since LÖVE 0.9.0 This function is not supported in earlier versions. Retrieves the value of a Channel message, but leaves it in the queue. It returns nil if there's no message in the queue. Function Synopsis value = Channel:peek( ) Arguments None. Returns Variant value The contents of the message. See Also Channel Channel:pop

love.math.newBezierCurve

love.math.newBezierCurve Available since LÖVE 0.9.0 This function is not supported in earlier versions. Creates a new BezierCurve object. The number of vertices in the control polygon determines the degree of the curve, e.g. three vertices define a quadratic (degree 2) Bézier curve, four vertices define a cubic (degree 3) Bézier curve, etc. Function Synopsis curve = love.math.newBezierCurve( vertices ) Arguments table vertices The vertices of the control polygon as a table in the form of

WheelJoint:enableMotor

WheelJoint:enableMotor Available since LÖVE 0.8.0 This method is not supported in earlier versions. Removed in LÖVE 0.9.0 It has been renamed to WheelJoint:setMotorEnabled. Starts and stops the joint motor. Function Synopsis WheelJoint:enableMotor( on ) Arguments boolean on True turns the motor on and false turns it off. Returns Nothing. See Also WheelJoint

World:getContactFilter

World:getContactFilter Available since LÖVE 0.8.0 This method is not supported in earlier versions. Returns the function for collision filtering. Function Synopsis contactFilter = World:getContactFilter( ) Arguments None. Returns function contactFilter The function that handles the contact filtering. See Also World World:setContactFilter

love.physics.newFixture

love.physics.newFixture Available since LÖVE 0.8.0 This function is not supported in earlier versions. Creates and attaches a Fixture to a body. Note that the Shape object is copied rather than kept as a reference when the Fixture is created. To get the Shape object that the Fixture owns, use Fixture:getShape. Function Synopsis fixture = love.physics.newFixture( body, shape, density ) Arguments Body body The body which gets the fixture attached. Shape shape The shape to be copied to the

ParticleSystem:getSpin

ParticleSystem:getSpin Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets the spin of the sprite. Function Synopsis min, max, variation = ParticleSystem:getSpin( ) Arguments Nothing. Returns number min The minimum spin (radians per second). number max (min) The maximum spin (radians per second). number variation (0) The degree of variation (0 meaning no variation and 1 meaning full variation between start and end). See Also ParticleSystem ParticleS

MouseJoint:setDampingRatio

MouseJoint:setDampingRatio Available since LÖVE 0.8.0 This method is not supported in earlier versions. Sets a new damping ratio. Function Synopsis MouseJoint:setDampingRatio( ratio ) Arguments number ratio The new damping ratio. Returns Nothing. See Also MouseJoint MouseJoint:getDampingRatio

Source:setAttenuationDistances

Source:setAttenuationDistances Available since LÖVE 0.9.0 It has been renamed from Source:setDistance. Sets the reference and maximum attenuation distances of the Source. The parameters, combined with the current DistanceModel, affect how the Source's volume attenuates based on distance. Distance attenuation is only applicable to Sources based on mono (rather than stereo) audio. Function Synopsis Source:setAttenuationDistances( ref, max ) Arguments number ref The new reference attenuation

Channel:getCount

Channel:getCount Available since LÖVE 0.9.0 This function is not supported in earlier versions. Retrieves the number of messages in the thread Channel queue. Function Synopsis value = Channel:getCount( ) Arguments None. Returns number count The number of messages in the queue. See Also Channel Channel:pop

DistanceJoint:getFrequency

DistanceJoint:getFrequency Gets the response speed. Function Synopsis Hz = DistanceJoint:getFrequency( ) Arguments None. Returns number Hz The response speed. See Also DistanceJoint