love.physics.newPrismaticJoint

love.physics.newPrismaticJoint Creates a PrismaticJoint between two bodies. A prismatic joint constrains two bodies to move relatively to each other on a specified axis. It does not allow for relative rotation. Its definition and operation are similar to a revolute joint, but with translation and force substituted for angle and torque. Function Available since LÖVE 0.8.0 This variant is not supported in earlier versions. Synopsis joint = love.physics.newPrismaticJoint( body1, body2, x,

FileData:getFilename

FileData:getFilename Available since LÖVE 0.7.0 This function is not supported in earlier versions. Gets the filename of the FileData. Function Synopsis name = FileData:getFilename( ) Arguments None. Returns string name The name of the file the FileData represents. See Also FileData

Video:setSource

Video:setSource Available since LÖVE 0.10.0 This function is not supported in earlier versions. Sets the audio Source used for playing back the video's audio. The audio Source also controls playback speed and synchronization. Function Synopsis Video:setSource( source ) Arguments Source source (nil) The audio Source used for audio playback, or nil to disable audio synchronization. Returns Nothing. See Also Video Video:getSource Source

love.joystickreleased

love.joystickreleased Called when a joystick button is released. Function Available since LÖVE 0.9.0 This variant is not supported in earlier versions. Synopsis love.joystickreleased( joystick, button ) Arguments Joystick joystick The joystick object. number button The button number. Returns Nothing. Function Removed in LÖVE 0.9.0 This variant is not supported in that and later versions. Synopsis love.joystickreleased( joystick, button ) Arguments number joystick The joystick num

love.filesystem.getRequirePath

love.filesystem.getRequirePath Available since LÖVE 0.10.0 This function is not supported in earlier versions. Gets the filesystem paths that will be searched when require is called. The paths string returned by this function is a sequence of path templates separated by semicolons. The argument passed to require will be inserted in place of any question mark ("?") character in each template (after the dot characters in the argument passed to require are replaced by directory separators.)

love.physics.newMouseJoint

love.physics.newMouseJoint Create a joint between a body and the mouse. This joint actually connects the body to a fixed point in the world. To make it follow the mouse, the fixed point must be updated every timestep (example below). The advantage of using a MouseJoint instead of just changing a body position directly is that collisions and reactions to other joints are handled by the physics engine. Function Synopsis joint = love.physics.newMouseJoint( body, x, y ) Arguments Body body The

BezierCurve:insertControlPoint

BezierCurve:insertControlPoint Available since LÖVE 0.9.0 This function is not supported in earlier versions. Insert control point after the i-th control point. Indices start with 1. Negative indices wrap around: -1 is the last control point, -2 the one before the last, etc. Function Synopsis BezierCurve:insertControlPoint(x, y, i) Arguments number x Position of the control point along the x axis. number y Position of the control point along the y axis. number i (-1) Index of the contro

love.graphics.isSupported

love.graphics.isSupported Available since LÖVE 0.8.0 and removed in LÖVE 0.10.0 It has been replaced by love.graphics.getSupported. Checks if certain graphics functions can be used. Older and low-end systems do not always support all graphics extensions. Function Synopsis isSupported = love.graphics.isSupported( support1, support2, support3, ... ) Arguments GraphicsFeature supportN The graphics feature to check for. Returns boolean isSupported True if everything is supported, false ot

Fixture:testPoint

Fixture:testPoint Available since LÖVE 0.8.0 This method is not supported in earlier versions. Checks if a point is inside the shape of the fixture. Function Synopsis isInside = Fixture:testPoint( x, y ) Arguments number x The x position of the point. number y The y position of the point. Returns boolean isInside True if the point is inside or false if it is outside. See Also Fixture

SpriteBatch:setq

SpriteBatch:setq 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 merged into SpriteBatch:set. Changes a sprite with a quad in the batch. This requires the identifier returned by add and addq. Function Synopsis SpriteBatch:setq( id, quad, x, y, r, sx, sy, ox, oy, kx, ky ) Arguments number id The identifier of the sprite that will be changed. Quad quad The quad used on the image of the batch. number x The position to draw