Shape:setFriction

Shape:setFriction Removed in LÖVE 0.8.0 Has been replaced by Fixture:setFriction. Sets the friction of the shape. Friction determines how shapes react when they "slide" along other shapes. Low friction indicates a slippery surface, like ice, while high friction indicates a rough surface, like concrete. Range: 0.0 - 1.0. Function Synopsis Shape:setFriction( friction ) Arguments number friction The friction of the shape. Returns Nothing. See Also Shape

EdgeShape:setPreviousVertex

EdgeShape:setPreviousVertex Available since LÖVE 0.10.2 This function is not supported in earlier versions. Sets a vertex that establishes a connection to the previous shape. This can help prevent unwanted collisions when a flat shape slides along the edge and moves over to the new shape. Function Synopsis EdgeShape:setPreviousVertex( x, y ) Arguments number x The x-component of the vertex. number y The y-component of the vertex. Returns Nothing. See Also EdgeShape EdgeShape:getPr

(File):getMode

(File):getMode Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets the FileMode the file has been opened with. Function Synopsis mode = File:getMode( ) Arguments None. Returns FileMode mode The mode this file has been opened with. See Also File FileMode

Source:setVolumeLimits

Source:setVolumeLimits Available since LÖVE 0.8.0 This function is not supported in earlier versions. Sets the volume limits of the source. The limits have to be numbers from 0 to 1. Function Synopsis Source:setVolumeLimits( min, max ) Arguments number min The minimum volume. number max The maximum volume. Returns Nothing. See Also Source

ParticleSystem:setTexture

ParticleSystem:setTexture Available since LÖVE 0.9.1 It has been renamed from ParticleSystem:setImage. Sets the texture (Image or Canvas) to be used for the particles. Function Synopsis ParticleSystem:setTexture( texture ) Arguments Texture texture An Image or Canvas to use for the particles. Returns Nothing. See Also ParticleSystem ParticleSystem:getTexture

enet.host

enet.host Description An ENet host for communicating with peers. On creation it will bind to a port on an address, unless otherwise specified, which will keep other applications from binding to the same port and address. One can free the port by calling its destroy method; nil-ing the host object and calling collectgarbage() would work as well, since :destroy calls host:__gc internally, but this is cleaner: local host = enet.host_create("*:6789") host:destroy() Functions Function Description

MouseJoint:getFrequency

MouseJoint:getFrequency Available since LÖVE 0.8.0 This method is not supported in earlier versions. Returns the frequency. Function Synopsis freq = MouseJoint:getFrequency( ) Arguments None. Returns number freq The frequency in hertz. See Also MouseJoint MouseJoint:setFrequency

WheelJoint:getMaxMotorTorque

WheelJoint:getMaxMotorTorque Available since LÖVE 0.8.0 This method is not supported in earlier versions. Returns the maximum motor torque. Function Synopsis maxTorque = WheelJoint:getMaxMotorTorque( ) Arguments None. Returns number maxTorque The maximum torque of the joint motor in newton meters. See Also WheelJoint WheelJoint:setMaxMotorTorque

love.window.getPosition

love.window.getPosition Available since LÖVE 0.9.2 This function is not supported in earlier versions. Gets the position of the window on the screen. The window position is in the coordinate space of the display it is currently in. Function Synopsis x, y, display = love.window.getPosition( ) Arguments None. Returns number x The x-coordinate of the window's position. number y The y-coordinate of the window's position. number display The index of the display that the window is in. See

love.graphics.newCanvas

love.graphics.newCanvas Available since LÖVE 0.8.0 It has been renamed from love.graphics.newFramebuffer. Creates a new Canvas object for offscreen rendering. This function can be slow if it is called repeatedly, such as from love.update or love.draw. If you need to use a specific resource often, create it once and store it somewhere it can be reused! Function Synopsis canvas = love.graphics.newCanvas( ) Arguments None. Returns Canvas canvas A new Canvas with dimensions equal to the win