love.graphics.scale

love.graphics.scale Scales the coordinate system in two dimensions. By default the coordinate system in LÖVE corresponds to the display pixels in horizontal and vertical directions one-to-one, and the x-axis increases towards the right while the y-axis increases downwards. Scaling the coordinate system changes this relation. After scaling by sx and sy, all coordinates are treated as if they were multiplied by sx and sy. Every result of a drawing operation is also correspondingly scaled, so sc

love.graphics.getMode

love.graphics.getMode Available since LÖVE 0.8.0 and removed in LÖVE 0.9.0 Moved to the love.window module as love.window.getMode. Returns the current display mode. Function Synopsis width, height, fullscreen, vsync, fsaa = love.graphics.getMode( ) Arguments None. Returns number width Display width. number height Display height. boolean fullscreen Fullscreen (true) or windowed (false). boolean vsync True if vertical sync is enabled or false if disabled. number fsaa The number of FSAA

Framebuffer:setWrap

Framebuffer:setWrap Available since LÖVE 0.7.2 This function is not supported in earlier versions. Removed in LÖVE 0.8.0 It has been renamed to Canvas:setWrap. Sets the wrapping properties of a Framebuffer. This function sets the way the edges of a Framebuffer are treated if it is scaled or rotated. If the WrapMode is set to 'clamp', the edge will not be interpolated. If set to 'repeat', the edge will be interpolated with the pixels on the opposing side of the framebuffer. Function Sy

Joystick:getHat

Joystick:getHat Available since LÖVE 0.9.0 It has been moved from love.joystick.getHat. Gets the direction of the Joystick's hat. Function Synopsis direction = Joystick:getHat( hat ) Arguments number hat The index of the hat to be checked. Returns JoystickHat direction The direction the hat is pushed. See Also Joystick Joystick:getHatCount

love.joystick.getAxis

love.joystick.getAxis Removed in LÖVE 0.9.0 It has been moved to Joystick:getAxis. Returns the direction of the axis. Function Synopsis direction = love.joystick.getAxis( joystick, axis ) Arguments number joystick The joystick to be checked number axis The axis to be checked Returns number direction Current value of the axis See Also love.joystick

(Image):setMipmapFilter

(Image):setMipmapFilter Available since LÖVE 0.9.0 This function is not supported in earlier versions. Sets the mipmap filter mode for an Image. Mipmapping is useful when drawing an image at a reduced scale. It can improve performance and reduce aliasing issues. In 0.10.0 and newer, the Image must be created with the mipmaps flag enabled for the mipmap filter to have any effect. In versions prior to 0.10.0 it's best to call this method directly after creating the image with love.graphics

Joystick:getVibration

Joystick:getVibration Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets the current vibration motor strengths on a Joystick with rumble support. Function Synopsis left, right = Joystick:getVibration( ) Arguments None. Returns number left Current strength of the left vibration motor on the Joystick. number right Current strength of the right vibration motor on the Joystick. See Also Joystick Joystick:setVibration Joystick:isVibrationSupported

Canvas:getFSAA

Canvas:getFSAA Available since LÖVE 0.9.1 This function is not supported in earlier versions. Removed in LÖVE 0.10.0 It has been renamed to Canvas:getMSAA. Gets the number of antialiasing samples used when drawing to the Canvas. This may be different than the number used as an argument to love.graphics.newCanvas if the system running LÖVE doesn't support that number. Function Synopsis samples = Canvas:getFSAA( ) Arguments None. Returns number samples The number of antialiasing sampl

Mesh:attachAttribute

Mesh:attachAttribute Available since LÖVE 0.10.0 This function is not supported in earlier versions. Attaches a vertex attribute from a different Mesh onto this Mesh, for use when drawing. This can be used to share vertex attribute data between several different Meshes. Function Synopsis Mesh:attachAttribute( name, mesh ) Arguments string name The name of the vertex attribute to attach. Mesh mesh The Mesh to get the vertex attribute from. Returns Nothing. Notes If a Mesh wasn't create

love.graphics.getFont

love.graphics.getFont Gets the current Font object. Function Available since LÖVE 0.9.0 This variant is not supported in earlier versions. Synopsis font = love.graphics.getFont( ) Arguments None. Returns Font font The current Font. Automatically creates and sets the default font, if none is set yet. Function Removed in LÖVE 0.9.0 This variant is not supported in that and later versions. Synopsis font = love.graphics.getFont( ) Arguments None. Returns Font font The current Font, o