ParticleSystem:getY

ParticleSystem:getY Removed in LÖVE 0.9.0 Use ParticleSystem:getPosition. Gets the y-coordinate of the particle emitter's position. Function Synopsis y = ParticleSystem:getY( ) Arguments None. Returns number y Position along y-axis. See Also ParticleSystem

love.update

love.update Callback function used to update the state of the game every frame. Function Synopsis love.update( dt ) Arguments number dt Time since the last update in seconds. Returns Nothing. Examples Run a function called think inside a table called npc once per second. dtotal = 0 -- this keeps track of how much time has passed function love.update(dt) dtotal = dtotal + dt -- we add the time passed since the last update, probably a very small number like 0.01 if dtotal >= 1

BezierCurve:getSegment

BezierCurve:getSegment Available since LÖVE 0.10.0 This function is not supported in earlier versions. Gets a BezierCurve that corresponds to the specified segment of this BezierCurve. Function Synopsis curve = BezierCurve:getSegment( startpoint, endpoint ) Arguments number startpoint The starting point along the curve. Must be between 0 and 1. number endpoint The end of the segment. Must be between 0 and 1. Returns BezierCurve curve A BezierCurve that corresponds to the specified seg

love.touchmoved

love.touchmoved Available since LÖVE 0.10.0 This function is not supported in earlier versions. Callback function triggered when a touch press moves inside the touch screen. Function Synopsis love.touchmoved( id, x, y, dx, dy, pressure ) Arguments light userdata id The identifier for the touch press. number x The x-axis position of the touch inside the window, in pixels. number y The y-axis position of the touch inside the window, in pixels. number dx The x-axis movement of the touch i

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