love.graphics.getPointSize

love.graphics.getPointSize Gets the point size. Function Synopsis size = love.graphics.getPointSize( ) Arguments None. Returns number size The current point size. Examples Increase the point size by 1 by using love.graphics.setPointSize. function love.draw() local s = love.graphics.getPointSize() + 1; love.graphics.setPointSize(s); love.graphics.point(100, 100); end See Also love.graphics love.graphics.point love.graphics.setPointSize love.graphics.getMaxPointSize

love.graphics.setBackgroundColor

love.graphics.setBackgroundColor Sets the background color. Function Synopsis love.graphics.setBackgroundColor( red, green, blue ) Arguments number red The red component (0-255). number green The green component (0-255). number blue The blue component (0-255). Returns Nothing. Function Available since LÖVE 0.8.0 This variant is not supported in earlier versions. Synopsis love.graphics.setBackgroundColor( red, green, blue, alpha ) Arguments number red The red component (0-255). numbe

love.window.getWidth

love.window.getWidth Available since LÖVE 0.9.0 and removed in LÖVE 0.10.0 Use love.graphics.getWidth or love.window.getMode instead. Gets the width of the window. Function Synopsis width = love.window.getWidth( ) Arguments None. Returns number width The width of the window. See Also love.window love.window.getHeight love.window.getDimensions love.window.setMode

love.window.getMode

love.window.getMode Available since LÖVE 0.9.0 Moved from love.graphics.getMode. Gets the display mode and properties of the window. Function Synopsis width, height, flags = love.window.getMode( ) Arguments None. Returns number width Window width. number height Window height. table flags Table with the window properties: boolean fullscreen Fullscreen (true), or windowed (false). FullscreenType fullscreentype The type of fullscreen mode used. boolean vsync True if the graphics framer

love.physics.newWorld

love.physics.newWorld Creates a new World. Function Available since LÖVE 0.8.0 This variant is not supported in earlier versions. Synopsis world = love.physics.newWorld( xg, yg, sleep ) Arguments number xg (0) The x component of gravity. number yg (0) The y component of gravity. boolean sleep (true) Whether the bodies in this world are allowed to sleep. Returns World world A brave new World. Function Removed in LÖVE 0.8.0 This variant is not supported in that and later versions.

MouseJoint:setMaxForce

MouseJoint:setMaxForce Sets the highest allowed force. Function Synopsis MouseJoint:setMaxForce( f ) Arguments number f The max allowed force. Returns Nothing. See Also MouseJoint

MouseJoint:setDampingRatio

MouseJoint:setDampingRatio Available since LÖVE 0.8.0 This method is not supported in earlier versions. Sets a new damping ratio. Function Synopsis MouseJoint:setDampingRatio( ratio ) Arguments number ratio The new damping ratio. Returns Nothing. See Also MouseJoint MouseJoint:getDampingRatio

ParticleSystem:setSprite

ParticleSystem:setSprite Removed in LÖVE 0.9.0 It has been renamed to ParticleSystem:setImage. Sets the image which is to be emitted. Function Synopsis ParticleSystem:setSprite( sprite ) Arguments Image sprite An Image to use for the particle. Returns Nothing. See Also ParticleSystem

Shape:getFilterData

Shape:getFilterData Removed in LÖVE 0.8.0 This function is not supported in that and later versions. Gets the filter data of the Shape. Function Synopsis categoryBits, maskBits, groupIndex = Shape:getFilterData( ) Arguments None. Returns number categoryBits A 16-bit integer representing category membership. number maskBits A 16-bit integer representing masked categories. number groupIndex An integer representing the group index. See Also Shape

(File):flush

(File):flush Available since LÖVE 0.9.0 This function is not supported in earlier versions. Flushes any buffered written data in the file to the disk. Function Synopsis success, err = File:flush( ) Arguments None. Returns boolean success Whether the file successfully flushed any buffered data to the disk. string err (nil) The error string, if an error occurred and the file could not be flushed. See Also File File:write File:setBuffer