Body:setType

Body:setType Available since LÖVE 0.8.0 This method is not supported in earlier versions. Sets a new body type. Function Synopsis Body:setType( type ) Arguments BodyType type The new type. Returns Nothing. See Also Body Body:getType

Mesh:hasVertexColors

Mesh:hasVertexColors Available since LÖVE 0.9.0 and removed in LÖVE 0.10.0 It has been replaced by Mesh:isAttributeEnabled("VertexColor"). Gets 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 vertexcolors = Mesh:hasVertexColors( ) Arguments

love.gamepadreleased

love.gamepadreleased Available since LÖVE 0.9.0 This function is not supported in earlier versions. Called when a Joystick's virtual gamepad button is released. Function Synopsis love.gamepadreleased( joystick, button ) Arguments Joystick joystick The joystick object. GamepadButton button The virtual gamepad button. Returns Nothing. See Also love love.gamepadpressed Joystick:isGamepad

love.graphics.setColor

love.graphics.setColor Sets the color used for drawing. Function Synopsis love.graphics.setColor( red, green, blue, alpha ) Arguments number red The amount of red. number green The amount of green. number blue The amount of blue. number alpha (255) The amount of alpha. The alpha value will be applied to all subsequent draw operations, even the drawing of an image. Returns Nothing. Function Available since LÖVE 0.7.0 This variant is not supported in earlier versions. Synopsis love.gr

Shader:send

Shader:send Available since LÖVE 0.9.0 It has been renamed from PixelEffect:send. Sends one or more values to a special (uniform) variable inside the shader. Uniform variables have to be marked using the uniform or extern keyword, e.g. uniform float time; // "float" is the typical number type used in GLSL shaders. uniform float vars[2]; uniform vec2 light_pos; uniform vec4 colors[4]; The corresponding send calls would be shader:send("time", t) shader:send("vars",a,b) shader:send("light_p

love.audio.stop

love.audio.stop Stops currently played sources. Function This function will stop all currently active sources. Synopsis love.audio.stop( ) Arguments None. Returns Nothing. Function This function will only stop the specified source. Synopsis love.audio.stop( source ) Arguments Source source The source on which to stop the playback. Returns Nothing. See Also love.audio

RevoluteJoint:getUpperLimit

RevoluteJoint:getUpperLimit Gets the upper limit. Function Synopsis upper = RevoluteJoint:getUpperLimit( ) Arguments None. Returns number upper The upper limit, in radians. See Also RevoluteJoint

love.timer.sleep

love.timer.sleep Pauses the current thread for the specified amount of time. This function causes the entire thread to pause for the duration of the sleep. Graphics will not draw, input events will not trigger, code will not run, and the window will be unresponsive if you use this as "wait()" in the main thread. Use love.update or a Timer library for that instead. Function Available since LÖVE 0.8.0 This behaviour is not supported in earlier versions. Synopsis love.timer.sleep( s ) Argume

Source:setAttenuationDistances

Source:setAttenuationDistances Available since LÖVE 0.9.0 It has been renamed from Source:setDistance. Sets the reference and maximum attenuation distances of the Source. The parameters, combined with the current DistanceModel, affect how the Source's volume attenuates based on distance. Distance attenuation is only applicable to Sources based on mono (rather than stereo) audio. Function Synopsis Source:setAttenuationDistances( ref, max ) Arguments number ref The new reference attenuation

CompressedImageData:getMipmapCount

CompressedImageData:getMipmapCount Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets the number of mipmap levels in the CompressedImageData. The base mipmap level (original image) is included in the count. Function Synopsis mipmaps = CompressedImageData:getMipmapCount( ) Arguments None. Returns number mipmaps The number of mipmap levels stored in the CompressedImageData. Notes Mipmap filtering cannot be activated for an Image created from a CompressedI