Shape:setSensor

Shape:setSensor Removed in LÖVE 0.8.0 This function is not supported in that and later versions. Sets whether this shape should act as a sensor. Set the shape as a sensor if you want to be notified when collision between shapes occur, but don't want a physical response (for instance, maybe you want enemies to appear when the player "touches" a certain point). Function Synopsis Shape:setSensor( sensor ) Arguments boolean sensor True for sensor, false otherwise. Returns Nothing. See Also

CompressedData:getFormat

CompressedData:getFormat Available since LÖVE 0.10.0 This function is not supported in earlier versions. Gets the compression format of the CompressedData. Function Synopsis format = CompressedData:getFormat( ) Arguments None. Returns CompressedDataFormat format The format of the CompressedData. See Also CompressedData

RevoluteJoint:enableLimits

RevoluteJoint:enableLimits 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 renamed to RevoluteJoint:setLimitsEnabled. Enables or disables the joint limits. Function Synopsis RevoluteJoint:enableLimit( enable ) Arguments boolean enable True to enable, false to disable. Returns Nothing. See Also RevoluteJoint RevoluteJoint:isLimitsEnabled RevoluteJoint:setLimits

World:destroy

World:destroy Available since LÖVE 0.8.0 This method is not supported in earlier versions. Destroys the world, taking all bodies, joints, fixtures and their shapes with it. An error will occur if you attempt to use any of the destroyed objects after calling this function. Function Synopsis World:destroy( ) Arguments None. Returns Nothing. See Also World

love.math.gammaToLinear

love.math.gammaToLinear Available since LÖVE 0.9.1 This function is not supported in earlier versions. Converts a color from gamma-space (sRGB) to linear-space (RGB). This is useful when doing gamma-correct rendering and you need to do math in linear RGB in the few cases where LÖVE doesn't handle conversions automatically. Read more about gamma-correct rendering here, here, and here. Gamma-correct rendering is an advanced topic and it's easy to get color-spaces mixed up. If you're not sur

Body:putToSleep

Body:putToSleep Removed in LÖVE 0.8.0 This method is not supported in that and later versions. Put the body to sleep. A sleeping body is much more efficient to simulate than when awake. The body will wake up if another body collides with it, if a joint or contact attached to it is destroyed, or if Body:wakeUp is called. Function Synopsis Body:putToSleep( ) Arguments None. Returns Nothing. See Also Body

Body:isActive

Body:isActive Available since LÖVE 0.8.0 This method is not supported in earlier versions. Returns whether the body is actively used in the simulation. Function Synopsis status = Body:isActive( ) Arguments None. Returns boolean status True if the body is active or false if not. See Also Body

Body:getLocalVector

Body:getLocalVector Transform a vector from world coordinates to local coordinates. Function Synopsis localX, localY = Body:getLocalVector( worldX, worldY ) Arguments number worldX The vector x component in world coordinates. number worldY The vector y component in world coordinates. Returns number localX The vector x component in local coordinates. number localY The vector y component in local coordinates. See Also Body

Rasterizer:getHeight

Rasterizer:getHeight Available since LÖVE 0.7.0 This function is not supported in earlier versions. TODO See Also Rasterizer

Shape:setRestitution

Shape:setRestitution Removed in LÖVE 0.8.0 This function is not supported in that and later versions. Sets the restitution of the shape. Restitution indicates the "bounciness" of the shape. High restitution can be used to model stuff like a rubber ball, while low restitution can be used for "dull" objects, like a bag of sand. Function Synopsis Shape:setRestitution( restitution ) Arguments number restitution The restitution of the shape. Returns Nothing. Notes A shape with a restitution