ParticleSystem:clone

ParticleSystem:clone Available since LÖVE 0.9.1 This function is not supported in earlier versions. Creates an identical copy of the ParticleSystem in the stopped state. Function Synopsis particlesystem = ParticleSystem:clone( ) Arguments None. Returns ParticleSystem particlesystem The new identical copy of this ParticleSystem. Notes Cloned ParticleSystem inherit all the set-able state of the original ParticleSystem, but they are initialized stopped. See Also ParticleSystem

ParticleSystem:setEmitterLifetime

ParticleSystem:setEmitterLifetime Available since LÖVE 0.9.0 It has been renamed from ParticleSystem:setLifetime. Sets how long the particle system should emit particles (if -1 then it emits particles forever). Function Synopsis ParticleSystem:setEmitterLifetime( life ) Arguments number life The lifetime of the emitter (in seconds). Returns Nothing. See Also ParticleSystem

love.filesystem.newFileData

love.filesystem.newFileData Creates a new FileData object. Function Synopsis data = love.filesystem.newFileData( contents, name, decoder ) Arguments string contents The contents of the file. string name The name of the file. FileDecoder decoder ("file") The method to use when decoding the contents. Returns FileData data Your new FileData. Function Available since LÖVE 0.9.0 This variant is not supported in earlier versions. Creates a new FileData from a file on the storage device.

Body:getWorld

Body:getWorld Available since LÖVE 0.9.2 This method is not supported in earlier versions. Gets the World the body lives in. Function Synopsis world = Body:getWorld( ) Arguments None. Returns World world The world the body lives in. See Also Body World

love.audio.getDopplerScale

love.audio.getDopplerScale Available since LÖVE 0.9.2 This function is not supported in earlier versions. Gets the current global scale factor for velocity-based doppler effects. Function Synopsis scale = love.audio.getDopplerScale( ) Arguments None. Returns number scale The current doppler scale factor. See Also love.audio love.audio.setDopplerScale

ParticleSystem:getTexture

ParticleSystem:getTexture Available since LÖVE 0.9.1 It has been renamed from ParticleSystem:getImage. Gets the texture (Image or Canvas) used for the particles. Function Synopsis texture = ParticleSystem:getTexture( ) Arguments None. Returns Texture texture The Image or Canvas used for the particles. See Also ParticleSystem ParticleSystem:setTexture

Mesh:getVertexFormat

Mesh:getVertexFormat Available since LÖVE 0.10.0 This function is not supported in earlier versions. Gets the vertex format that the Mesh was created with. Function Synopsis format = Mesh:getVertexFormat( ) Arguments None. Returns table format The vertex format of the Mesh, which is a table containing tables for each vertex attribute the Mesh was created with, in the form of {attribute, ...}. table attribute A table containing the attribute's name, it's data type, and the number of comp

BezierCurve:removeControlPoint

BezierCurve:removeControlPoint Available since LÖVE 0.10.0 This function is not supported in earlier versions. Removes the specified control point. Function Synopsis BezierCurve:removeControlPoint( index ) Arguments number index The index of the control point to remove. Returns Nothing. See Also BezierCurve BezierCurve:getDegree BezierCurve:setControlPoint BezierCurve:getControlPoint BezierCurve:insertControlPoint love.math

love.graphics.setColorMask

love.graphics.setColorMask Available since LÖVE 0.9.0 This function is not supported in earlier versions. Sets the color mask. Enables or disables specific color components when rendering and clearing the screen. For example, if red is set to false, no further changes will be made to the red component of any pixels. Function Enables color masking for the specified color components. Synopsis love.graphics.setColorMask( red, green, blue, alpha ) Arguments boolean red Render red component.

love.keyboard.setTextInput

love.keyboard.setTextInput Available since LÖVE 0.9.0 This function is not supported in earlier versions. Enables or disables text input events. It is enabled by default on Windows, Mac, and Linux, and disabled by default on iOS and Android. Function Synopsis love.keyboard.setTextInput( enable ) Arguments boolean enable Whether text input events should be enabled. Returns Nothing. Function Available since LÖVE 0.10.0 This variant is not supported in earlier versions. Synopsis love.