World:isSleepingAllowed

World:isSleepingAllowed Available since LÖVE 0.9.0 It has been renamed from World:getAllowSleeping. Gets the sleep behaviour of the world. Function Synopsis allow = World:isSleepingAllowed( ) Arguments None. Returns boolean allow True if bodies in the world are allowed to sleep, or false if not. See Also World World:setSleepingAllowed

love.graphics.triangle

love.graphics.triangle Removed in LÖVE 0.9.0 This function is not supported in that and later versions. Use love.graphics.polygon instead.. Draws a triangle. Function Synopsis love.graphics.triangle( mode, x1, y1, x2, y2, x3, y3 ) Arguments DrawMode mode How to draw the triangle. number x1 The position of first point on the x-axis. number y1 The position of first point on the y-axis. number x2 The position of second point on the x-axis. number y2 The position of second point on the y-

PulleyJoint:setMaxLengths

PulleyJoint:setMaxLengths Set the maximum lengths of the rope segments. The physics module also imposes maximum values for the rope segments. If the parameters exceed these values, the maximum values are set instead of the requested values. Function Synopsis PulleyJoint:setMaxLengths( max1, max2 ) Arguments number max1 The new maximum length of the first segment. number max2 The new maximum length of the second segment. Returns Nothing. See Also PulleyJoint

Font:getLineHeight

Font:getLineHeight Gets the line height. This will be the value previously set by Font:setLineHeight, or 1.0 by default. Function Synopsis height = Font:getLineHeight( ) Arguments None. Returns number height The current line height. See Also Font Font:setLineHeight

WheelJoint:getAxis

WheelJoint:getAxis Available since LÖVE 0.10.2 This function is not supported in earlier versions. Gets the world-space axis vector of the Wheel Joint. Function Synopsis x, y = WheelJoint:getAxis( ) Arguments None. Returns number x The x-axis coordinate of the world-space axis vector. number y The y-axis coordinate of the world-space axis vector. See Also WheelJoint love.physics.newWheelJoint

love.graphics.getCaption

love.graphics.getCaption Removed in LÖVE 0.9.0 Moved to the love.window module as love.window.getTitle. Gets the window caption. Function Synopsis caption = love.graphics.getCaption( ) Arguments None. Returns string caption The current window caption. See Also love.graphics love.graphics.setCaption

World:getAllowSleeping

World:getAllowSleeping 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 World:isSleepingAllowed. Returns the sleep behaviour of the world. Function Synopsis allowSleep = World:getAllowSleeping( ) Arguments None. Returns boolean allowSleep True if the bodies are allowed to sleep or false if not. See Also World World:setAllowSleeping

love.system.getPowerInfo

love.system.getPowerInfo Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets information about the system's power supply. Function Synopsis state, percent, seconds = love.system.getPowerInfo( ) Arguments None. Returns PowerState state The basic state of the power supply. number percent (nil) Percentage of battery life left, between 0 and 100. nil if the value can't be determined or there's no battery. number seconds (nil) Seconds of battery life left. ni

love.graphics.setCaption

love.graphics.setCaption Removed in LÖVE 0.9.0 Moved to the love.window module as love.window.setTitle. Sets the window caption. Function Synopsis love.graphics.setCaption( caption ) Arguments string caption The new window caption. Returns Nothing. See Also love.graphics

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