love.filesystem.setSymlinksEnabled

love.filesystem.setSymlinksEnabled Available since LÖVE 0.9.2 This function is not supported in earlier versions. Sets whether love.filesystem follows symbolic links. It is enabled by default in version 0.10.0 and newer, and disabled by default in 0.9.2. Function Synopsis love.filesystem.setSymlinksEnabled( enable ) Arguments boolean enable Whether love.filesystem should follow symbolic links. Returns Nothing. See Also love.filesystem love.filesystem.areSymlinksEnabled love.filesy

ParticleSystem:stop

ParticleSystem:stop Stops the particle emitter, resetting the lifetime counter. Function Synopsis ParticleSystem:stop( ) Arguments None. Returns Nothing. See Also ParticleSystem

SpriteBatch:bind

SpriteBatch:bind Available since LÖVE 0.8.0 It has been renamed from SpriteBatch:lock. Removed in LÖVE 0.10.0 It happens automatically since version 0.9.2. Use SpriteBatch:flush if absolutely necessary. Binds the SpriteBatch to memory for more efficient updating. Binding a SpriteBatch before updating its content can improve the performance as it doesn't push each update to the graphics card separately. Don't forget to unbind the SpriteBatch or the updates won't show up. Function Syno

ParticleSystem:reset

ParticleSystem:reset Resets the particle emitter, removing any existing particles and resetting the lifetime counter. Function Synopsis ParticleSystem:reset( ) Arguments None. Returns Nothing. See Also ParticleSystem

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

Audio Formats

Audio Formats As of Love 0.9.1, the following audio formats are supported: Waveform Audio File Format (.wav) MPEG-1 or MPEG-2 Audio Layer III (.mp3) Ogg Vorbis (.ogg, .oga, .ogv) Tracker module formats (.699, .amf, .ams, .dbm, .dmf, .dsm, .far, .it, .j2b, .mdl, .med, .mod, .mt2, .mtm, .okt, .psm, .s3m, .stm, .ult, .umx, .xm) Other formats supported by libmodplug (.abc, .mid, .pat) See Also love.audio love.sound

love.errhand

love.errhand The error handler, used to display error messages. Function Synopsis love.errhand( msg ) Arguments string msg The error message. Returns Nothing. Examples Available since LÖVE 0.10.0 This variant is not supported in earlier versions. The default function used if you don't supply your own. local function error_printer(msg, layer) print((debug.traceback("Error: " .. tostring(msg), 1+(layer or 1)):gsub("\n[^\n]+$", ""))) end   function love.errhand(msg) msg = tostring(msg)

love.graphics.getMode

love.graphics.getMode Available since LÖVE 0.8.0 and removed in LÖVE 0.9.0 Moved to the love.window module as love.window.getMode. Returns the current display mode. Function Synopsis width, height, fullscreen, vsync, fsaa = love.graphics.getMode( ) Arguments None. Returns number width Display width. number height Display height. boolean fullscreen Fullscreen (true) or windowed (false). boolean vsync True if vertical sync is enabled or false if disabled. number fsaa The number of FSAA

Mesh:attachAttribute

Mesh:attachAttribute Available since LÖVE 0.10.0 This function is not supported in earlier versions. Attaches a vertex attribute from a different Mesh onto this Mesh, for use when drawing. This can be used to share vertex attribute data between several different Meshes. Function Synopsis Mesh:attachAttribute( name, mesh ) Arguments string name The name of the vertex attribute to attach. Mesh mesh The Mesh to get the vertex attribute from. Returns Nothing. Notes If a Mesh wasn't create

love.graphics.setLineStyle

love.graphics.setLineStyle Sets the line style. Function Synopsis love.graphics.setLineStyle( style ) Arguments LineStyle style The LineStyle to use. Line styles include smooth and rough. Returns Nothing. See Also love.graphics love.graphics.getLineStyle love.graphics.setLineWidth