PrismaticJoint:setMotorSpeed

PrismaticJoint:setMotorSpeed Sets the motor speed. Function Synopsis PrismaticJoint:setMotorSpeed( s ) Arguments number s The motor speed, usually in meters per second. Returns Nothing. See Also PrismaticJoint

World:getJointList

World:getJointList Available since LÖVE 0.8.0 This method is not supported in earlier versions. Returns a table with all joints. Function Synopsis joints = World:getJointList( ) Arguments None. Returns table joints A sequence with all joints. See Also World

Joystick:getHatCount

Joystick:getHatCount Available since LÖVE 0.9.0 It has been moved from love.joystick.getNumHats. Gets the number of hats on the joystick. Function Synopsis hats = Joystick:getHatCount( ) Arguments None. Returns number hats How many hats the joystick has. See Also Joystick Joystick:getHat

Fixture:getFriction

Fixture:getFriction Available since LÖVE 0.8.0 This method is not supported in earlier versions. Returns the friction of the fixture. Function Synopsis friction = Fixture:getFriction( ) Arguments None. Returns number friction The fixture friction. See Also Fixture Fixture:setFriction

love.audio.setVelocity

love.audio.setVelocity Sets the velocity of the listener. Function Synopsis love.audio.setVelocity( x, y, z ) Arguments number x The X velocity of the listener. number y The Y velocity of the listener. number z The Z velocity of the listener. Returns Nothing. See Also love.audio

RevoluteJoint:setMotorSpeed

RevoluteJoint:setMotorSpeed Sets the motor speed. Function Synopsis RevoluteJoint:setMotorSpeed( s ) Arguments number s The motor speed, radians per second. Returns Nothing. See Also RevoluteJoint

Shader Variables

Shader Variables Available since LÖVE 0.9.0 These built-in shader variables are not supported in earlier versions. There are several built-in variables LÖVE provides in vertex and pixel shaders. All built-in variables are read-only unless otherwise specified. Global built-in variables mat4 TransformMatrix The transformation matrix affected by love.graphics.translate and friends. mat4 ProjectionMatrix The orthographic projection matrix. mat4 TransformProjectionMatrix The combined tra

Mesh:setVertexColors

Mesh:setVertexColors Available since LÖVE 0.9.0 and removed in LÖVE 0.10.0 It has been replaced by Mesh:setAttributeEnabled("VertexColor", enable). Sets whether per-vertex colors are used instead of the constant color when drawing the Mesh (constant color being love.graphics.setColor.) Per-vertex colors are enabled by default for a Mesh if at least one vertex color was not the default (255, 255, 255, 255) when the Mesh was created. Function Synopsis Mesh:setVertexColors( on ) Arguments bo

MouseJoint:getDampingRatio

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

ParticleSystem:setSpeed

ParticleSystem:setSpeed Sets the speed of the particles. Function Synopsis ParticleSystem:setSpeed( min, max ) Arguments number min The minimum linear speed of the particles. number max (min) The maximum linear speed of the particles. Returns Nothing. See Also ParticleSystem