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

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: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:getRadius

Shape:getRadius Gets the radius of the shape. Function Synopsis radius = Shape:getRadius() From the Box2D manual: Polygons inherit a radius from Shape. The radius creates a skin around the polygon. The skin is used in stacking scenarios to keep polygons slightly separated. This allows continuous collision to work against the core polygon. Arguments None. Returns number radius The radius of the shape. See Also Shape

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

enet.host:total sent data

enet.host:total sent data Returns the number of bytes that were sent through the given host. Function Synopsis host:total_sent_data() Arguments None. Returns number bytes The total number of bytes sent. See Also lua-enet enet.host enet.host:total_received_data

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

SpriteBatch:lock

SpriteBatch:lock This has been changed to SpriteBatch:bind

RevoluteJoint:isMotorEnabled

RevoluteJoint:isMotorEnabled Checks whether the motor is enabled. Function Synopsis enabled = RevoluteJoint:isMotorEnabled( ) Arguments None. Returns boolean enabled True if enabled, false if disabled. See Also RevoluteJoint

Body:setMass

Body:setMass Sets a new body mass. Function Available since LÖVE 0.8.0 This variant is not supported in earlier versions. Synopsis body:setMass( mass ) Arguments number mass The mass, in kilograms. Returns Nothing. Function Removed in LÖVE 0.8.0 This variant is not supported in that and later versions. Sets the mass properties directly. If you're not sure what all this stuff means, you can use Body:setMassFromShapes after adding shapes instead. The first two parameters will be th