ParticleSystem:setRelativeRotation

ParticleSystem:setRelativeRotation Available since LÖVE 0.9.1 This function is not supported in earlier versions. Sets whether particle angles and rotations are relative to their velocities. If enabled, particles are aligned to the angle of their velocities and rotate relative to that angle. Function Synopsis ParticleSystem:setRelativeRotation( enable ) Arguments boolean enable True to enable relative particle rotation, false to disable it. Returns Nothing. See Also ParticleSystem P

PolygonShape:getPoints

PolygonShape:getPoints Get the local coordinates of the polygon's vertices. This function has a variable number of return values. It can be used in a nested fashion with love.graphics.polygon. Function Synopsis x1, y1, x2, y2, ... x8, y8 = PolygonShape:getPoints( ) Arguments None. Returns number x1 The x-component of the first vertex. number y1 The y-component of the first vertex. number x2 The x-component of the second vertex. number y2 The y-component of the second vertex. And so on,

love.mouse.getCursor

love.mouse.getCursor Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets the current Cursor. Function Synopsis cursor = love.mouse.getCursor( ) Arguments None. Returns Cursor cursor (nil) The current cursor, or nil if no cursor is set. See Also love.mouse love.mouse.setCursor

Shape:getBoundingBox

Shape:getBoundingBox Removed in LÖVE 0.8.0 This function is not supported in that and later versions. Gets the bounding box of the shape. This function can be used in a nested fashion with love.graphics.polygon. Function Synopsis A bounding box is the smallest rectangle that encapsulates the entire polygon. x1, y1, x2, y2, x3, y3, x4, y4 = Shape:getBoundingBox( ) Vertexes are returned starting from the bottom-left in a clockwise fashion (bottom-left, top-left, top-right, bottom-right). A

Mesh:getVertices

Mesh:getVertices Available since LÖVE 0.9.0 and removed in LÖVE 0.10.0 Use Mesh:getVertex in a loop instead. Gets all the vertices in the Mesh. This method can be slow if the Mesh has a large number of vertices. Keep the original table used to create the Mesh around and update it when necessary instead of using this method frequently, if possible. Function Synopsis vertices = Mesh:getVertices( ) Arguments None. Returns table vertices The table filled with vertex information tables for e

love.graphics.newStencil

love.graphics.newStencil Available since LÖVE 0.8.0 and removed in LÖVE 0.9.0 Lua functions can be used directly with love.graphics.stencil (or love.graphics.setStencil in 0.9). Creates a new stencil. Function Synopsis myStencil = love.graphics.newStencil( stencilFunction ) Arguments function stencilFunction Function that draws the stencil. Returns function myStencil Function that defines the new stencil. See Also love.graphics love.graphics.setStencil love.graphics.setInvertedS

love.window.getDimensions

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

love.audio.pause

love.audio.pause Pauses currently played Sources. Function This function will pause all currently active Sources. Synopsis love.audio.pause( ) Arguments None. Returns Nothing. Function This function will only pause the specified Source. Synopsis love.audio.pause( source ) Arguments Source source The source on which to pause the playback Returns Nothing. See Also love.audio

love.audio.stop

love.audio.stop Stops currently played sources. Function This function will stop all currently active sources. Synopsis love.audio.stop( ) Arguments None. Returns Nothing. Function This function will only stop the specified source. Synopsis love.audio.stop( source ) Arguments Source source The source on which to stop the playback. Returns Nothing. See Also love.audio

Mesh:getDrawRange

Mesh:getDrawRange Available since LÖVE 0.9.1 This function is not supported in earlier versions. Gets the range of vertices used when drawing the Mesh. Function Synopsis min, max = Mesh:getDrawRange( ) Arguments None. Returns number min (nil) The index of the first vertex used when drawing, or the index of the first value in the vertex map used if one is set for this Mesh. number max (nil) The index of the last vertex used when drawing, or the index of the last value in the vertex map u