love.window.hasMouseFocus

love.window.hasMouseFocus Available since LÖVE 0.9.0 This function is not supported in earlier versions. Checks if the game window has mouse focus. Function Synopsis focus = love.window.hasMouseFocus( ) Arguments None. Returns boolean focus True if the window has mouse focus or false if not. See Also love.window

CompressedImageData:getMipmapCount

CompressedImageData:getMipmapCount Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets the number of mipmap levels in the CompressedImageData. The base mipmap level (original image) is included in the count. Function Synopsis mipmaps = CompressedImageData:getMipmapCount( ) Arguments None. Returns number mipmaps The number of mipmap levels stored in the CompressedImageData. Notes Mipmap filtering cannot be activated for an Image created from a CompressedI

love.graphics.setPointSize

love.graphics.setPointSize Sets the point size. The sizes of points are not affected by love.graphics.scale – they're always in pixels. Function Synopsis love.graphics.setPointSize( size ) Arguments number size The new point size. Returns Nothing. Examples Increase the point size by 1, by using love.graphics.getPointSize. function love.draw() local s = love.graphics.getPointSize() + 1 love.graphics.setPointSize(s) love.graphics.point(100, 100) end See Also love.graphics lo

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.window.getFullscreenModes

love.window.getFullscreenModes Available since LÖVE 0.9.0 Moved from love.graphics.getModes. Gets a list of supported fullscreen modes. Function Synopsis modes = love.window.getFullscreenModes( display ) Arguments number display (1) The index of the display, if multiple monitors are available. Returns table modes A table of width/height pairs. (Note that this may not be in order.) Examples Format of the returned table modes = love.window.getFullscreenModes()   -- modes = { -- { wid

love.window.getDisplayCount

love.window.getDisplayCount Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets the number of connected monitors. Function Synopsis count = love.window.getDisplayCount( ) Arguments None. Returns number count The number of currently connected displays. See Also love.window love.window.setMode love.window.getMode love.window.getFullscreenModes love.window.getDesktopDimensions

love.graphics.getPointStyle

love.graphics.getPointStyle Removed in LÖVE 0.10.0 This function is not supported in that and later versions. Gets the current point style. Function Synopsis style = love.graphics.getPointStyle( ) Arguments None. Returns PointStyle style The current point style. Examples Toggle between point styles with the help of love.graphics.setPointStyle. if love.graphics.getPointStyle() == "rough" then love.graphics.setPointStyle("smooth") else love.graphics.setPointStyle("rough") end See

Body:getWorldPoints

Body:getWorldPoints Available since LÖVE 0.8.0 This method is not supported in earlier versions. Transforms multiple points from local coordinates to world coordinates. Function Synopsis x1, y1, x2, y2, ... = Body:getWorldPoints( x1, y1, x2, y2, ... ) Arguments number x1 The x position of the first point. number y1 The y position of the first point. number x2 The x position of the second point. number y2 The y position of the second point. Returns number x1 The transformed x positio

Source:setDistance

Source:setDistance Available since LÖVE 0.8.0 This function is not supported in earlier versions. Removed in LÖVE 0.9.0 It has been renamed to Source:setAttenuationDistances. Sets the reference and maximum distance of the source. Function Synopsis Source:setDistance( ref, max ) Arguments number ref The new reference distance. number max The new maximum distance. Returns Nothing. See Also Source

love.joystick.getNumAxes

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