Rasterizer:getDescent

Rasterizer:getDescent Available since LÖVE 0.7.0 This function is not supported in earlier versions. TODO See Also Rasterizer

Source:isStopped

Source:isStopped Returns whether the Source is stopped. Function Synopsis stopped = Source:isStopped( ) Arguments None. Returns boolean stopped True if the Source is stopped, false otherwise. See Also Source

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

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

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

PrismaticJoint:getLimits

PrismaticJoint:getLimits Gets the joint limits. Function Synopsis lower, upper = PrismaticJoint:getLimits( ) Arguments None. Returns number lower The lower limit, usually in meters. number upper The upper limit, usually in meters. See Also PrismaticJoint

WheelJoint:getJointSpeed

WheelJoint:getJointSpeed Available since LÖVE 0.8.0 This method is not supported in earlier versions. Returns the current joint translation speed. Function Synopsis speed = WheelJoint:getJointSpeed( ) Arguments None. Returns number speed The translation speed of the joint in meters per second. See Also WheelJoint

World:destroy

World:destroy Available since LÖVE 0.8.0 This method is not supported in earlier versions. Destroys the world, taking all bodies, joints, fixtures and their shapes with it. An error will occur if you attempt to use any of the destroyed objects after calling this function. Function Synopsis World:destroy( ) Arguments None. Returns Nothing. See Also World

love.math.gammaToLinear

love.math.gammaToLinear Available since LÖVE 0.9.1 This function is not supported in earlier versions. Converts a color from gamma-space (sRGB) to linear-space (RGB). This is useful when doing gamma-correct rendering and you need to do math in linear RGB in the few cases where LÖVE doesn't handle conversions automatically. Read more about gamma-correct rendering here, here, and here. Gamma-correct rendering is an advanced topic and it's easy to get color-spaces mixed up. If you're not sur

Body:isSleeping

Body:isSleeping Removed in LÖVE 0.8.0 This method is not supported in that and later versions. Get the sleeping status of a body. A sleeping body is much more efficient to simulate than when awake. If sleeping is allowed, a body that has come to rest will sleep. Function Synopsis status = Body:isSleeping( ) Arguments None. Returns boolean status The sleeping status of the body. See Also Body