Font:getWrap

Font:getWrap Available since LÖVE 0.7.0 This function is not supported in earlier versions. Gets formatting information for text, given a wrap limit. This function accounts for newlines correctly (i.e. '\n'). Function Available since LÖVE 0.10.0 This variant is not supported in earlier versions. Synopsis width, wrappedtext = Font:getWrap( text, wraplimit ) Arguments string text The text that will be wrapped. number wraplimit The maximum width in pixels of each line that text is allo

Mesh:setAttributeEnabled

Mesh:setAttributeEnabled Available since LÖVE 0.10.0 This function is not supported in earlier versions. Enables or disables a specific vertex attribute in the Mesh. Vertex data from disabled attributes is not used when drawing the Mesh. Function Synopsis Mesh:setAttributeEnabled( name, enable ) Arguments string name The name of the vertex attribute to enable or disable. boolean enable Whether the vertex attribute is used when drawing this Mesh. Returns Nothing. Notes If a Mesh wasn't

RevoluteJoint:getMotorSpeed

RevoluteJoint:getMotorSpeed Gets the motor speed. Function Synopsis s = RevoluteJoint:getMotorSpeed( ) Arguments None. Returns number s The motor speed, radians per second. See Also RevoluteJoint

PrismaticJoint:setLimits

PrismaticJoint:setLimits Sets the limits. Function Synopsis PrismaticJoint:setLimits( lower, upper ) Arguments number lower The lower limit, usually in meters. number upper The upper limit, usually in meters. Returns Nothing. See Also PrismaticJoint

ParticleSystem:getPosition

ParticleSystem:getPosition Gets the position of the emitter. Function Synopsis x, y = ParticleSystem:getPosition( ) Arguments None. Returns number x Position along x-axis. number y Position along y-axis. See Also ParticleSystem

RandomGenerator:getState

RandomGenerator:getState Available since LÖVE 0.9.1 This function is not supported in earlier versions. Gets the current state of the random number generator. This returns an opaque implementation-dependent string which is only useful for later use with RandomGenerator:setState. This is different from RandomGenerator:getSeed in that getState gets the RandomGenerator's current state, whereas getSeed gets the previously set seed number. Function Synopsis state = RandomGenerator:getState( )

Shape:getFriction

Shape:getFriction Removed in LÖVE 0.8.0 This function is not supported in that and later versions. Gets the friction of this shape. Function Synopsis friction = Shape:getFriction( ) Arguments None. Returns number friction The friction of this Shape. See Also Shape

Body:destroy

Body:destroy Explicitly destroys the Body and all fixtures and joints attached to it. An error will occur if you attempt to use the object after calling this function. In 0.7.2, when you don't have time to wait for garbage collection, this function may be used to free the object immediately. Function Synopsis Body:destroy( ) Arguments None. Returns Nothing. See Also Body

RevoluteJoint:hasLimitsEnabled

RevoluteJoint:hasLimitsEnabled Available since LÖVE 0.9.0 It has been renamed from RevoluteJoint:isLimitsEnabled. Checks whether limits are enabled. Function Synopsis enabled = RevoluteJoint:hasLimitsEnabled( ) Arguments None. Returns boolean enabled True if enabled, false otherwise. See Also RevoluteJoint

Thread:kill

Thread:kill Available since LÖVE 0.7.0 and removed in LÖVE 0.8.0 This method is not supported in earlier or later versions. Forcefully terminate the thread. This function terminates the thread wherever it is, which is capable of locking the game, or doing anything evil for that matter, its use is strongly discouraged. Function Synopsis Thread:kill( ) Arguments None. Returns None. See Also Thread