Joystick:getID

Joystick:getID Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets the joystick's unique identifier. The identifier will remain the same for the life of the game, even when the Joystick is disconnected and reconnected, but it will change when the game is re-launched. Function Synopsis id, instanceid = Joystick:getID( ) Arguments None. Returns number id The Joystick's unique identifier. Remains the same as long as the game is running. number instanceid (nil

Mesh:getVertex

Mesh:getVertex Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets the properties of a vertex in the Mesh. Function Available since LÖVE 0.10.0 This variant is not supported in earlier versions. Synopsis attributecomponent, ... = Mesh:getVertex( index ) Arguments number index The index of the vertex you want to retrieve the information for. Returns number attributecomponent The first component of the first vertex attribute in the specified vertex. nu

love.window.setFullscreen

love.window.setFullscreen Available since LÖVE 0.9.0 This function is not supported in earlier versions. Enters or exits fullscreen. The display to use when entering fullscreen is chosen based on which display the window is currently in, if multiple monitors are connected. Function Synopsis success = love.window.setFullscreen( fullscreen ) Arguments boolean fullscreen Whether to enter or exit fullscreen mode. Returns boolean success True if successful, false otherwise. Function Synop

Joint:setUserData

Joint:setUserData Available since LÖVE 0.9.2 This method is not supported in earlier versions. Associates a Lua value with the Joint. To delete the reference, explicitly pass nil. Use this function in one thread and one thread only. Using it in more threads will make Lua cry and most likely crash. Function Synopsis Joint:setUserData( value ) Arguments any value The Lua value to associate with the Joint. Returns Nothing. See Also Joint Joint:getUserData

love.filesystem.isFile

love.filesystem.isFile Check whether something is a file. Function Synopsis isFile = love.filesystem.isFile( filename ) Arguments string filename The path to a potential file. Returns boolean isFile True if there is a file with the specified name. False otherwise. See Also love.filesystem love.filesystem.isDirectory love.filesystem.exists

EdgeShape:getNextVertex

EdgeShape:getNextVertex Available since LÖVE 0.10.2 This function is not supported in earlier versions. Gets the vertex that establishes a connection to the next shape. Setting next and previous EdgeShape vertices can help prevent unwanted collisions when a flat shape slides along the edge and moves over to the new shape. Function Synopsis x, y = EdgeShape:getNextVertex( ) Arguments None. Returns number x (nil) The x-component of the vertex, or nil if EdgeShape:setNextVertex hasn't been

Source:rewind

Source:rewind Available since LÖVE 0.7.0 This function is not supported in earlier versions. Rewinds a Source. Function Synopsis Source:rewind() Arguments None. Returns Nothing. See Also Source

love.window.isOpen

love.window.isOpen Available since LÖVE 0.10.0 This function has been renamed from love.window.isCreated. Checks if the window is open. Function Synopsis open = love.window.isOpen( ) Arguments None. Returns boolean open True if the window is open, false otherwise. See Also love.window love.window.isCreated

love.window.isMaximized

love.window.isMaximized Available since LÖVE 0.10.2 This function is not supported in earlier versions. Gets whether the Window is currently maximized. The window can be maximized if it is not fullscreen and is resizable, and either the user has pressed the window's Maximize button or love.window.maximize has been called. Function Synopsis maximized = love.window.isMaximized( ) Arguments None. Returns boolean maximized True if the window is currently maximized in windowed mode, false ot

love.graphics.line

love.graphics.line Draws lines between points. Function Synopsis love.graphics.line( x1, y1, x2, y2, ... ) Arguments 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-axis. number ... You can continue passing point positions to draw a polyline. Returns Nothing. Function Synopsis love.graphics.line( points ) Arguments table points