ParticleSystem:count

ParticleSystem:count Removed in LÖVE 0.9.0 It has been renamed to ParticleSystem:getCount. Gets the amount of particles that are currently in the system. Function Synopsis count = ParticleSystem:count( ) Arguments None. Returns number count The current number of live particles. See Also ParticleSystem

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

Object:type

Object:type Gets the type of the object as a string. Function Synopsis type = Object:type() Arguments None. Returns string type The type as a string. Examples Printing the type of an object image = love.graphics.newImage("test.png") print(image:type()) -- outputs: Image source = love.audio.newSource("test.ogg") print(source:type()) -- outputs: Source See Also Object

Object:typeOf

Object:typeOf Checks whether an object is of a certain type. If the object has the type with the specified name in its hierarchy, this function will return true. Function Synopsis b = Object:typeOf( name ) Arguments string name The name of the type to check for. Returns boolean b True if the object is of the specified type, false otherwise. Examples Checking the type of an object image = love.graphics.newImage("test.png") print(image:typeOf("Object")) -- outputs: true print(image:typeOf(

MouseJoint:setTarget

MouseJoint:setTarget Sets the target point. Function Synopsis MouseJoint:setTarget( x, y ) Arguments number x The x-component of the target. number y The y-component of the target. Returns Nothing. See Also MouseJoint

MouseJoint:setFrequency

MouseJoint:setFrequency Available since LÖVE 0.8.0 This method is not supported in earlier versions. Sets a new frequency. Function Synopsis MouseJoint:setFrequency( freq ) Arguments number freq The new frequency in hertz. Returns Nothing. See Also MouseJoint MouseJoint:getFrequency

MouseJoint:setMaxForce

MouseJoint:setMaxForce Sets the highest allowed force. Function Synopsis MouseJoint:setMaxForce( f ) Arguments number f The max allowed force. Returns Nothing. See Also MouseJoint

MouseJoint:setDampingRatio

MouseJoint:setDampingRatio Available since LÖVE 0.8.0 This method is not supported in earlier versions. Sets a new damping ratio. Function Synopsis MouseJoint:setDampingRatio( ratio ) Arguments number ratio The new damping ratio. Returns Nothing. See Also MouseJoint MouseJoint:getDampingRatio

MouseJoint:getMaxForce

MouseJoint:getMaxForce Gets the highest allowed force. Function Synopsis f = MouseJoint:getMaxForce( ) Arguments None. Returns number f The max allowed force. See Also MouseJoint

MouseJoint:getTarget

MouseJoint:getTarget Gets the target point. Function Synopsis x, y = MouseJoint:getTarget( ) Arguments None. Returns number x The x-component of the target. number y The x-component of the target. See Also MouseJoint