BezierCurve:getControlPoint

BezierCurve:getControlPoint Available since LÖVE 0.9.0 This function is not supported in earlier versions. Get coordinates of the i-th control point. Indices start with 1. Function Synopsis x, y = BezierCurve:getControlPoint(i) Arguments number i Index of the control point. Returns number x Position of the control point along the x axis. number y Position of the control point along the y axis. See Also BezierCurve BezierCurve:getDegree BezierCurve:setControlPoint BezierCurve:

WeldJoint:setFrequency

WeldJoint:setFrequency Available since LÖVE 0.8.0 This method is not supported in earlier versions. Sets a new frequency. Function Synopsis WeldJoint:setFrequency( freq ) Arguments number freq The new frequency in hertz. Returns Nothing. See Also WeldJoint WeldJoint:getFrequency

(File):eof

(File):eof Removed in LÖVE 0.10.0 It has been renamed to File:isEOF. If the end-of-file has been reached Function Synopsis eof = File:eof( ) Arguments None. Returns boolean eof Whether EOF has been reached See Also File

PrismaticJoint:enableMotor

PrismaticJoint:enableMotor Available since LÖVE 0.8.0 This function is not supported in earlier versions. Removed in LÖVE 0.9.0 It has been renamed to PrismaticJoint:setMotorEnabled. Starts or stops the joint motor. Function Synopsis PrismaticJoint:enableMotor( enable ) Arguments boolean enable True to enable, false to disable. Returns Nothing. See Also PrismaticJoint

SpriteBatch:set

SpriteBatch:set Available since LÖVE 0.8.0 This method is not supported in earlier versions. Changes a sprite in the batch. This requires the identifier returned by add and addq. Function Synopsis SpriteBatch:set( id, x, y, r, sx, sy, ox, oy, kx, ky ) Arguments number id The identifier of the sprite that will be changed. number x The position to draw the object (x-axis). number y The position to draw the object (y-axis). number r (0) Orientation (radians). number sx (1) Scale factor (

love.mouse.setX

love.mouse.setX Available since LÖVE 0.9.0 This function is not supported in earlier versions. Sets the current X position of the mouse. The coordinates of the mouse pointer are always whole numbers, but even if you try setting a non-integer, löve will floor it internally. Function Synopsis love.mouse.setX( x ) Arguments number x The new position of the mouse along the x-axis. Returns Nothing. See Also love.mouse love.mouse.setPosition love.mouse.setY love.mouse.getX

Body:setMassFromShapes

Body:setMassFromShapes Removed in LÖVE 0.8.0 This method is not supported in that and later versions. Sets mass properties from attatched shapes. If you feel that finding the correct mass properties is tricky, then this function may be able to help you. After creating the needed shapes on the Body, a call to this function will set the mass properties based on those shapes. Remember to call this function after adding the shapes. Setting the mass properties this way always results in a rea

love.window.isVisible

love.window.isVisible Available since LÖVE 0.9.0 This function is not supported in earlier versions. Checks if the game window is visible. The window is considered visible if it's not minimized and the program isn't hidden. Function Synopsis visible = love.window.isVisible( ) Arguments None. Returns boolean visible True if the window is visible or false if not. See Also love.window love.visible

love.physics.newRevoluteJoint

love.physics.newRevoluteJoint Creates a pivot joint between two bodies. This joint connects two bodies to a point around which they can pivot. Function Available since LÖVE 0.8.0 This variant is not supported in earlier versions. Synopsis joint = love.physics.newRevoluteJoint( body1, body2, x, y, collideConnected ) Arguments Body body1 The first body. Body body2 The second body. number x The x position of the connecting point. number y The y position of the connecting point. boolean

Joint:getBodies

Joint:getBodies Available since LÖVE 0.9.2 This function is not supported in earlier versions. Gets the bodies that the Joint is attached to. Function Synopsis bodyA, bodyB = Joint:getBodies( ) Arguments None. Returns Body bodyA (nil) The first Body. Body bodyB (nil) The second Body. See Also Joint Body