Fixture:setRestitution

Fixture:setRestitution Available since LÖVE 0.8.0 This method is not supported in earlier versions. Sets the restitution of the fixture. Function Synopsis Fixture:setRestitution( restitution ) Arguments number restitution The fixture restitution. Returns Nothing. See Also Fixture Fixture:getRestitution

Mesh:setDrawRange

Mesh:setDrawRange Available since LÖVE 0.9.1 This function is not supported in earlier versions. Restricts the drawn vertices of the Mesh to a subset of the total. Function Synopsis Mesh:setDrawRange( min, max ) Arguments number min The index of the first vertex to use when drawing, or the index of the first value in the vertex map to use if one is set for this Mesh. number max The index of the last vertex to use when drawing, or the index of the last value in the vertex map to use if on

love.keyboard.hasKeyRepeat

love.keyboard.hasKeyRepeat Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets whether key repeat is enabled. Function Synopsis enabled = love.keyboard.hasKeyRepeat( ) Arguments None. Returns boolean enabled Whether key repeat is enabled. See Also love.keyboard love.keyboard.setKeyRepeat love.keypressed

ParticleSystem:setLinearAcceleration

ParticleSystem:setLinearAcceleration Available since LÖVE 0.9.0 It has replaced ParticleSystem:setGravity. Sets the linear acceleration (acceleration along the x and y axes) for particles. Every particle created will accelerate along the x and y axes between xmin,ymin and xmax,ymax. Function Synopsis ParticleSystem:setLinearAcceleration( xmin, ymin, xmax, ymax ) Arguments number xmin The minimum acceleration along the x axis. number ymin The minimum acceleration along the y axis. number

love.physics.newDistanceJoint

love.physics.newDistanceJoint Creates a DistanceJoint between two bodies. This joint constrains the distance between two points on two bodies to be constant. These two points are specified in world coordinates and the two bodies are assumed to be in place when this joint is created. The first anchor point is connected to the first body and the second to the second body, and the points define the length of the distance joint. Function Available since LÖVE 0.8.0 This variant is not supporte

love.graphics.setWireframe

love.graphics.setWireframe Available since LÖVE 0.9.1 This function is not supported in earlier versions. Sets whether wireframe lines will be used when drawing. This function does nothing on mobile devices and other systems which use OpenGL ES 2. Wireframe mode should only be used for debugging. The lines drawn with it enabled do not behave like regular love.graphics lines: their widths don't scale with the coordinate transformations or with love.graphics.setLineWidth, and they don't use

love.graphics.setPixelEffect

love.graphics.setPixelEffect Available since LÖVE 0.8.0 and removed in LÖVE 0.9.0 It has been renamed to love.graphics.setShader. Sets or resets a PixelEffect as the current pixel effect. All drawing operations until the next love.graphics.setPixelEffect will be drawn using the PixelEffect object specified. Function Synopsis love.graphics.setPixelEffect( pixeleffect ) Arguments PixelEffect pixeleffect The new pixel effect. Returns Nothing. Notes Sets the current pixel shader to a spec

love.graphics.getLineStyle

love.graphics.getLineStyle Gets the line style. Function Synopsis style = love.graphics.getLineStyle( ) Arguments None. Returns LineStyle style The current line style. See Also love.graphics love.graphics.setLineStyle

love.system.getProcessorCount

love.system.getProcessorCount Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets the number of CPU cores in the system. Function Synopsis cores = love.system.getProcessorCount( ) Arguments None. Returns number cores The number of CPU cores. Notes The number includes the threads reported if technologies such as Intel's Hyper-threading are enabled. For example, on a 4-core CPU with Hyper-threading, this function will return 8. See Also love.system lov

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