MouseJoint:setTarget

MouseJoint:setTarget Sets the target point. Function Synopsis MouseJoint:setTarget( x, y ) Arguments number x The x-component of the target. number y The y-component of the target. Returns Nothing. See Also MouseJoint

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

Body:isSleeping Removed in LÖVE 0.8.0 This method is not supported in that and later versions. Get the sleeping status of a body. A sleeping body is much more efficient to simulate than when awake. If sleeping is allowed, a body that has come to rest will sleep. Function Synopsis status = Body:isSleeping( ) Arguments None. Returns boolean status The sleeping status of the body. See Also Body

World:getGravity

World:getGravity Get the gravity of the world. Function Synopsis x, y = World:getGravity( ) Arguments None. Returns number x The x component of gravity. number y The y component of gravity. See Also World

Rasterizer:getHeight

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

love.timer.getFPS

love.timer.getFPS Returns the current frames per second. Function Synopsis fps = love.timer.getFPS( ) Arguments None. Returns number fps The current FPS. Examples Display text at the top left of the screen showing the current FPS. function love.draw() love.graphics.print("Current FPS: "..tostring(love.timer.getFPS( )), 10, 10) end See Also love.timer

love.timer.step

love.timer.step Measures the time between two frames. Calling this changes the return value of love.timer.getDelta. Function Synopsis love.timer.step( ) Arguments None. Returns Nothing. See Also love.timer love.run

love.timer.getMicroTime

love.timer.getMicroTime Removed in LÖVE 0.9.0 love.timer.getTime is now microsecond-accurate. Returns the value of a timer with an unspecified starting time. The time is accurate to the microsecond. Function Synopsis t = love.timer.getMicroTime( ) Arguments None. Returns number t The time passed in seconds. See Also love.timer love.timer.getTime

Rasterizer:getAscent

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