RevoluteJoint:setLimits

RevoluteJoint:setLimits Sets the limits. Function Synopsis RevoluteJoint:setLimits( lower, upper ) Arguments number lower The lower limit, in radians. number upper The upper limit, in radians. Returns Nothing. See Also RevoluteJoint

WheelJoint:isMotorEnabled

WheelJoint:isMotorEnabled Available since LÖVE 0.8.0 This method is not supported in earlier versions. Checks if the joint motor is running. Function Synopsis on = WheelJoint:isMotorEnabled( ) Arguments None. Returns boolean on The status of the joint motor. See Also WheelJoint

PrismaticJoint:hasLimitsEnabled

PrismaticJoint:hasLimitsEnabled Available since LÖVE 0.9.0 This function is not supported in earlier versions. Checks whether the limits are enabled. Function Synopsis enabled = PrismaticJoint:hasLimitsEnabled( ) Arguments None. Returns boolean enabled True if enabled, false otherwise. See Also PrismaticJoint

love.audio.getNumSources

love.audio.getNumSources Removed in LÖVE 0.9.0 It has been renamed to love.audio.getSourceCount. Gets the current number of simultaneously playing sources. Function Synopsis numSources = love.audio.getNumSources( ) Arguments None. Returns number numSources The current number of simultaneously playing sources. See Also love.audio

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

BezierCurve:getDegree

BezierCurve:getDegree Available since LÖVE 0.9.0 This function is not supported in earlier versions. Get degree of the Bézier curve. The degree is equal to number-of-control-points - 1. Function Synopsis degree = BezierCurve:getDegree( ) Arguments None. Returns number degree Degree of the Bézier curve. See Also BezierCurve BezierCurve:getControlPoint BezierCurve:setControlPoint BezierCurve:insertControlPoint love.math

ParticleSystem:setAreaSpread

ParticleSystem:setAreaSpread Available since LÖVE 0.9.0 This function is not supported in earlier versions. Sets area-based spawn parameters for the particles. Newly created particles will spawn in an area around the emitter based on the parameters to this function. Function Synopsis ParticleSystem:setAreaSpread( distribution, dx, dy ) Arguments AreaSpreadDistribution distribution The type of distribution for new particles. number dx The maximum spawn distance from the emitter along the

love.joystick.saveGamepadMappings

love.joystick.saveGamepadMappings Available since LÖVE 0.9.2 This function is not supported in earlier versions. Saves the virtual gamepad mappings of all Joysticks that are recognized as gamepads and have either been recently used or their gamepad bindings have been modified. The mappings are stored as a string for use with love.joystick.loadGamepadMappings. Function Saves the gamepad mappings of all relevant joysticks to a file. Synopsis mappings = love.joystick.saveGamepadMappings( fi

love.load

love.load This function is called exactly once at the beginning of the game. Function Synopsis love.load( arg ) Arguments table arg Command line arguments given to the game. Returns Nothing. Examples Establish some variables/resources on the game load, so that they can be used repeatedly in other functions (such as love.draw). function love.load() hamster = love.graphics.newImage("hamster.png") x = 50 y = 50 end   function love.draw() love.graphics.draw(hamster, x, y) end See

love.filesystem.getSourceBaseDirectory

love.filesystem.getSourceBaseDirectory Available since LÖVE 0.9.0 This function is not supported in earlier versions. Returns the full path to the directory containing the .love file. If the game is fused to the LÖVE executable, then the directory containing the executable is returned. If love.filesystem.isFused is true, the path returned by this function can be passed to love.filesystem.mount, which will make the directory containing the main game (e.g. C:\Program Files\coolgame\) readabl