love.graphics.getDefaultImageFilter

love.graphics.getDefaultImageFilter Available since LÖVE 0.8.0 and removed in LÖVE 0.9.0 It has been renamed to love.graphics.getDefaultFilter. Returns the default scaling filters. Function Synopsis min, mag = love.graphics.getDefaultImageFilter( ) Arguments None. Returns FilterMode min Filter mode used when scaling the image down. FilterMode mag Filter mode used when scaling the image up. See Also love.graphics love.graphics.setDefaultImageFilter

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

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

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.graphics.rotate

love.graphics.rotate Rotates the coordinate system in two dimensions. Calling this function affects all future drawing operations by rotating the coordinate system around the origin by the given amount of radians. This change lasts until love.draw() exits. Function Synopsis love.graphics.rotate( angle ) Arguments number angle The amount to rotate the coordinate system in radians. Returns Nothing. Examples Rotating a static scene This example shows how to rotate a static scene around a giv

Body:getWorldPoints

Body:getWorldPoints Available since LÖVE 0.8.0 This method is not supported in earlier versions. Transforms multiple points from local coordinates to world coordinates. Function Synopsis x1, y1, x2, y2, ... = Body:getWorldPoints( x1, y1, x2, y2, ... ) Arguments number x1 The x position of the first point. number y1 The y position of the first point. number x2 The x position of the second point. number y2 The y position of the second point. Returns number x1 The transformed x positio

Source:isRelative

Source:isRelative Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets whether the Source's position, velocity, direction, and cone angles are relative to the listener. Function Synopsis relative = Source:isRelative( ) Arguments None. Returns boolean relative True if the position, velocity, direction and cone angles are relative to the listener, false if they're absolute. See Also Source Source:setRelative

love.filesystem.init

love.filesystem.init Initializes love.filesystem, will be called internally, so should not be used explicitly. Function Synopsis love.filesystem.init( appname ) Arguments string appname The name of the application binary, typically love. Returns Nothing. See Also love.filesystem

love.window.getPixelScale

love.window.getPixelScale Available since LÖVE 0.9.1 This function is not supported in earlier versions. Gets the DPI scale factor associated with the window. The pixel density inside the window might be greater (or smaller) than the "size" of the window. For example on a retina screen in Mac OS X with the highdpi window flag enabled, the window may take up the same physical size as an 800x600 window, but the area inside the window uses 1600x1200 pixels. love.window.getPixelScale() would r

love.filesystem.enumerate

love.filesystem.enumerate Removed in LÖVE 0.9.0 It has been renamed to love.filesystem.getDirectoryItems. Returns a table with the names of files and subdirectories in the specified path. The table is not sorted in any way; the order is undefined. If the path passed to the function exists in the game and the save directory, it will list the files and directories from both places. Function Synopsis files = love.filesystem.enumerate( dir ) Arguments string dir The directory. Returns tab