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

Decoder:getDuration

Decoder:getDuration Available since LÖVE 0.10.0 This function is not supported in earlier versions. Gets the duration of the sound file. It may not always be sample-accurate, and it may return -1 if the duration cannot be determined at all. Function Synopsis duration = Decoder:getDuration( ) Arguments None. Returns number duration The duration of the sound file in seconds, or -1 if it cannot be determined. See Also Decoder Source:getDuration SoundData:getDuration

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

(Image):setWrap

(Image):setWrap Sets the wrapping properties of an Image. This function sets the way an Image is repeated when it is drawn with a Quad that is larger than the image's extent. An image may be clamped or set to repeat in both horizontal and vertical directions. Clamped images appear only once, but repeated ones repeat as many times as there is room in the Quad. N.B. If you use a Quad that is larger than the image extent and do not use repeated tiling, there may be an unwanted visual effect of

BezierCurve:renderSegment

BezierCurve:renderSegment Available since LÖVE 0.10.0 This function is not supported in earlier versions. Get a list of coordinates on a specific part of the curve, to be used with love.graphics.line. This function samples the Bézier curve using recursive subdivision. You can control the recursion depth using the depth parameter. If you are just need to know the position on the curve given a parameter, use BezierCurve:evaluate. Function Synopsis coordinates = BezierCurve:renderSegment( s

Fixture:setDensity

Fixture:setDensity Available since LÖVE 0.8.0 This method is not supported in earlier versions. Sets the density of the fixture. Call Body:resetMassData if this needs to take effect immediately. Function Synopsis Fixture:setDensity( density ) Arguments number density The fixture density in kilograms per square meter. Returns Nothing. See Also Fixture Fixture:getDensity

Body:setAngle

Body:setAngle Set the angle of the body. The angle is measured in radians. If you need to transform it from degrees, use math.rad. A value of 0 radians will mean "looking to the right". .Although radians increase counter-clockwise, the y axis points down so it becomes clockwise from our point of view. It is possible to cause a collision with another body by changing its angle. Function Synopsis Body:setAngle( angle ) Arguments number angle The angle in radians. Returns Nothing. See Al

love.gamepadpressed

love.gamepadpressed Available since LÖVE 0.9.0 This function is not supported in earlier versions. Called when a Joystick's virtual gamepad button is pressed. Function Synopsis love.gamepadpressed( joystick, button ) Arguments Joystick joystick The joystick object. GamepadButton button The virtual gamepad button. Returns Nothing. See Also love love.gamepadreleased Joystick:isGamepad

WheelJoint:getSpringDampingRatio

WheelJoint:getSpringDampingRatio Available since LÖVE 0.8.0 This method is not supported in earlier versions. Returns the damping ratio. Function Synopsis ratio = WheelJoint:getSpringDampingRatio( ) Arguments None. Returns number ratio The damping ratio. See Also WheelJoint WheelJoint:setSpringDampingRatio

Fixture:setMask

Fixture:setMask Available since LÖVE 0.8.0 This method is not supported in earlier versions. Fixture:setMask works in NOT.Categories selected will NOT collide with this fixture. If you want to work as Box2d works with Mask use instead Fixture:setFilterData Sets the category mask of the fixture. There can be up to 16 categories represented as a number from 1 to 16. This fixture will NOT collide with the fixtures that are in the selected categories if the other fixture also has a category