SpriteBatch:lock

SpriteBatch:lock This has been changed to SpriteBatch:bind

SpriteBatch:addq

SpriteBatch:addq Removed in LÖVE 0.9.0 It has been merged into SpriteBatch:add. Adds a Quad to the batch. Function Available since LÖVE 0.8.0 This variant is not supported in earlier versions. Synopsis id = SpriteBatch:addq( quad, x, y, r, sx, sy, ox, oy, kx, ky ) Arguments Quad quad The Quad to add. 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 (x-axis). number s

Source:seek

Source:seek Available since LÖVE 0.8.0 This function is not supported in earlier versions. Sets the currently playing position of the Source. Function Synopsis Source:seek( offset, unit ) Arguments number offset The position to seek to. TimeUnit unit ("seconds") The unit of the position value. Returns Nothing. See Also Source:tell Source

Shape:computeMass

Shape:computeMass Available since LÖVE 0.8.0 This function is not supported in earlier versions. Computes the mass properties for the shape with the specified density. Function Synopsis x, y, mass, inertia = Shape:computeMass( density ) Arguments number density The shape density. Returns number x The x postition of the center of mass. number y The y postition of the center of mass. number mass The mass of the shape. number inertia The rotational inertia. See Also Shape

Shape:destroy

Shape:destroy Removed in LÖVE 0.8.0 This function is not supported in that and later versions. Explicitly destroys the Shape. When you don't have time to wait for garbage collection, this function may be used to free the object immediately, but note that an error will occur if you attempt to use the object after calling this function. Note that Box2D doesn't allow destroying or creating shapes during collision callbacks. Function Synopsis Shape:destroy( ) Arguments None. Returns Nothing

Shape:getCategoryBits

Shape:getCategoryBits Removed in LÖVE 0.8.0 Use Fixture:getCategory instead. Gets the categories as a 16-bit integer. A set bit indicates membership of that category. Function Synopsis An = Shape:getCategoryBits( ) Arguments None. Returns number An Integer value representing the categories. See Also Shape

FrictionJoint:setMaxTorque

FrictionJoint:setMaxTorque Available since LÖVE 0.8.0 This function is not supported in earlier versions. Sets the maximum friction torque in Newton-meters. Function Synopsis FrictionJoint:setMaxTorque( torque ) Arguments number torque Maximum torque in Newton-meters. Returns Nothing. See Also FrictionJoint FrictionJoint:getMaxTorque

RevoluteJoint:setMaxMotorTorque

RevoluteJoint:setMaxMotorTorque Set the maximum motor force. Function Synopsis RevoluteJoint:setMaxMotorTorque( f ) Arguments number f The maximum motor force, in Nm. Returns Nothing. See Also RevoluteJoint

love.timer.getDelta

love.timer.getDelta Returns the time between the last two frames. Function Synopsis dt = love.timer.getDelta( ) Arguments None. Returns number dt The time passed (in seconds). See Also love.timer

ChainShape:getVertexCount

ChainShape:getVertexCount Available since LÖVE 0.8.0 This function is not supported in earlier versions. Returns the number of vertices the shape has. Function Synopsis count = ChainShape:getVertexCount( ) Arguments None. Returns number count The number of vertices. See Also ChainShape