love.graphics.toggleFullscreen

love.graphics.toggleFullscreen Removed in LÖVE 0.9.0 Moved to the love.window module as love.window.toggleFullscreen. Toggles fullscreen. Function Synopsis success = love.graphics.toggleFullscreen( ) Arguments None. Returns boolean success True if successful, false otherwise. See Also love.graphics

love.graphics.translate

love.graphics.translate Translates the coordinate system in two dimensions. When this function is called with two numbers, dx, and dy, all the following drawing operations take effect as if their x and y coordinates were x+dx and y+dy. Scale and translate are not commutative operations, therefore, calling them in different orders will change the outcome. This change lasts until love.draw() exits or else a love.graphics.pop reverts to a previous love.graphics.push. Translating using whole nu

love.graphics.triangle

love.graphics.triangle Removed in LÖVE 0.9.0 This function is not supported in that and later versions. Use love.graphics.polygon instead.. Draws a triangle. Function Synopsis love.graphics.triangle( mode, x1, y1, x2, y2, x3, y3 ) Arguments DrawMode mode How to draw the triangle. number x1 The position of first point on the x-axis. number y1 The position of first point on the y-axis. number x2 The position of second point on the x-axis. number y2 The position of second point on the y-

love.image.isCompressed

love.image.isCompressed Available since LÖVE 0.9.0 This function is not supported in earlier versions. Determines whether a file can be loaded as CompressedImageData. Function Synopsis compressed = love.image.isCompressed( filename ) Arguments string filename The filename of the potentially compressed image file. Returns boolean compressed Whether the file can be loaded as CompressedImageData or not. Function Synopsis compressed = love.image.isCompressed( fileData ) Arguments FileDat

love.image.newCompressedData

love.image.newCompressedData Available since LÖVE 0.9.0 This function is not supported in earlier versions. Create a new CompressedImageData object from a compressed image file. LÖVE supports several compressed texture formats, enumerated in the CompressedImageFormat page. This function can be slow if it is called repeatedly, such as from love.update or love.draw. If you need to use a specific resource often, create it once and store it somewhere it can be reused! Function Synopsis compre

love.image.newEncodedImageData

love.image.newEncodedImageData Removed in LÖVE 0.8.0 This function is not supported in that and later versions. Encodes ImageData. Function Synopsis data = love.image.newEncodedImageData( imageData, format ) Arguments ImageData imageData The raw ImageData to encode. ImageFormat format The format to encode the image in. Returns Data data The encoded image data. See Also love.image

love.image.newImageData

love.image.newImageData Creates a new ImageData object. This function can be slow if it is called repeatedly, such as from love.update or love.draw. If you need to use a specific resource often, create it once and store it somewhere it can be reused! Function Synopsis imageData = love.image.newImageData( width, height ) Arguments number width The width of the ImageData. number height The height of the ImageData. Returns ImageData imageData The new blank ImageData object. Each pixel's col

love.joystick.close

love.joystick.close Removed in LÖVE 0.9.0 This function is not supported in that and later versions. Closes a joystick, i.e. stop using it for generating events and in query functions. Function Synopsis love.joystick.close( joystick ) Arguments number joystick The joystick to be closed Returns Nothing. See Also love.joystick

love.joystick.getAxes

love.joystick.getAxes Removed in LÖVE 0.9.0 It has been moved to Joystick:getAxes. Returns the position of each axis. Function Synopsis axisDir1, axisDir2, axisDirN = love.joystick.getAxes( joystick ) Arguments number joystick The joystick to be checked Returns number axisDir1 Direction of axis1 number axisDir2 Direction of axis2 number axisDirN Direction of axisN See Also love.joystick

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