Mesh:setDrawMode

Mesh:setDrawMode Available since LÖVE 0.9.0 This function is not supported in earlier versions. Sets the mode used when drawing the Mesh. Function Synopsis Mesh:setDrawMode( mode ) Arguments MeshDrawMode mode The mode to use when drawing the Mesh. Returns Nothing. See Also Mesh Mesh:getDrawMode

love.math.randomNormal

love.math.randomNormal Available since LÖVE 0.9.0 This function is not supported in earlier versions. Get a normally distributed pseudo random number. Function Synopsis number = love.math.randomNormal( stddev, mean ) Arguments number stddev (1) Standard deviation of the distribution. number mean (0) The mean of the distribution. Returns number number Normally distributed random number with variance (stddev)² and the specified mean. See Also love.math

SoundData:getBitDepth

SoundData:getBitDepth Available since LÖVE 0.9.0 It has been renamed from SoundData:getBits. Returns the number of bits per sample. Function Synopsis bitdepth = SoundData:getBitDepth( ) Arguments None. Returns number bitdepth Either 8, or 16. See Also SoundData

love.graphics.setScissor

love.graphics.setScissor Sets or disables scissor. The scissor limits the drawing area to a specified rectangle. This affects all graphics calls, including love.graphics.clear. The dimensions of the scissor is unaffected by graphical transformations (translate, scale, ...). Function Limits the drawing area to a specified rectangle. Synopsis love.graphics.setScissor( x, y, width, height ) Arguments number x x coordinate of upper left corner. number y y coordinate of upper left corner. numb

love.graphics.setDefaultImageFilter

love.graphics.setDefaultImageFilter Available since LÖVE 0.8.0 and removed in LÖVE 0.9.0 It has been renamed to love.graphics.setDefaultFilter. Sets the default scaling filters. Function Synopsis love.graphics.setDefaultImageFilter( min, mag ) Arguments FilterMode min Filter mode used when scaling the image down. FilterMode mag Filter mode used when scaling the image up. Returns Nothing. Notes This function does not apply retroactively to loaded images. See Also love.graphics love

love.joystick.getNumBalls

love.joystick.getNumBalls Removed in LÖVE 0.9.0 This function is not supported in that and later versions. Returns the number of balls on the joystick. Function Synopsis balls = love.joystick.getNumBalls( joystick ) Arguments number joystick The joystick to be checked Returns number balls The number of balls available See Also love.joystick

love.joystick.getNumJoysticks

love.joystick.getNumJoysticks Removed in LÖVE 0.9.0 It has been renamed to love.joystick.getJoystickCount. Returns how many joysticks are available. Function Synopsis joysticks = love.joystick.getNumJoysticks( ) Arguments None. Returns number joysticks The number of joysticks available See Also love.joystick

love.joystick.getNumButtons

love.joystick.getNumButtons Removed in LÖVE 0.9.0 It has been renamed to Joystick:getButtonCount. Returns the number of buttons on the joystick. Function Synopsis buttons = love.joystick.getNumButtons( joystick ) Arguments number joystick The joystick to be checked Returns number buttons The number of buttons available See Also love.joystick

(Image):isCompressed

(Image):isCompressed Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets whether the Image was created from CompressedData. Compressed images take up less space in VRAM, and drawing a compressed image will generally be more efficient than drawing one created from raw pixel data. Function Synopsis compressed = Image:isCompressed( ) Arguments None. Returns boolean compressed Whether the Image is stored as a compressed texture on the GPU. See Also Image

Body:wakeUp

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