Canvas:setFilter

Canvas:setFilter Available since LÖVE 0.8.0 This function is not supported in earlier versions. Sets the filter mode of the Canvas. Function Synopsis Canvas:setFilter( min, mag ) Arguments FilterMode min Filter mode to use when minifying the canvas. FilterMode mag Filter mode to use when magnifying the canvas. Returns Nothing. Function Available since LÖVE 0.9.0 This variant is not supported in earlier versions. Synopsis Canvas:setFilter( min, mag, anisotropy ) Arguments FilterMod

Body:getWorld

Body:getWorld Available since LÖVE 0.9.2 This method is not supported in earlier versions. Gets the World the body lives in. Function Synopsis world = Body:getWorld( ) Arguments None. Returns World world The world the body lives in. See Also Body World

Shape:getRestitution

Shape:getRestitution Removed in LÖVE 0.8.0 This function is not supported in that and later versions. Gets the restitution of this shape. Function Synopsis restitution = Shape:getRestitution( ) Arguments None. Returns number restitution The restitution of this Shape. See Also Shape

Canvas:clear

Canvas:clear Available since LÖVE 0.8.0 and removed in LÖVE 0.10.0 It has been replaced by love.graphics.clear. Clears the contents of a Canvas to a specific color. Calling this function directly after the Canvas becomes active (via love.graphics.setCanvas or Canvas:renderTo) is more efficient than calling it when the Canvas isn't active, especially on mobile devices. love.graphics.setScissor will restrict the area of the Canvas that this function affects. Function Clear the canvas to tr

enet.host:flush

enet.host:flush Sends any queued packets. This is only required to send packets earlier than the next call to host:service, or if host:service will not be called again. Function Synopsis host:flush() Arguments None. Returns Nothing. See Also lua-enet enet.host:service enet.host

love.physics.newGearJoint

love.physics.newGearJoint Create a GearJoint connecting two Joints. The gear joint connects two joints that must be either prismatic or revolute joints. Using this joint requires that the joints it uses connect their respective bodies to the ground and have the ground as the first body. When destroying the bodies and joints you must make sure you destroy the gear joint before the other joints. The gear joint has a ratio the determines how the angular or distance values of the connected join

PrismaticJoint:getMotorForce

PrismaticJoint:getMotorForce Returns the current motor force. Function Available since LÖVE 0.8.0 This variant is not supported in earlier versions. Synopsis force = PrismaticJoint:getMotorForce( invdt ) Arguments number invdt How long the force applies. Usually the inverse time step or 1/dt. Returns number force The force on the motor in newtons. Function Removed in LÖVE 0.8.0 This variant is not supported in that and later versions. Synopsis f = PrismaticJoint:getMotorForce( )

love.font.newRasterizer

love.font.newRasterizer Available since LÖVE 0.7.0 This function is not supported in earlier versions. Creates a new Rasterizer. Function Synopsis rasterizer = love.font.newRasterizer( filename ) Arguments string filename The font file. Returns Rasterizer rasterizer The rasterizer. Function Synopsis rasterizer = love.font.newRasterizer( data ) Arguments FileData data The FileData of the font file. Returns Rasterizer rasterizer The rasterizer. Create a TrueTypeRasterizer. Funct

love.event.quit

love.event.quit Available since LÖVE 0.8.0 This function is not supported in earlier versions. Adds the quit event to the queue. The quit event is a signal for the event handler to close LÖVE. It's possible to abort the exit process with the love.quit callback. Function Synopsis love.event.quit( ) Arguments None. Returns Nothing. Function Available since LÖVE 0.10.0 This variant is not supported in earlier versions. Synopsis love.event.quit( exitstatus ) Arguments number exitstatus

love.filesystem.read

love.filesystem.read Read the contents of a file Function Synopsis contents, size = love.filesystem.read( name, size ) Arguments string name The name (and path) of the file number size (all) How many bytes to read Returns string contents The file contents number size How many bytes have been read See Also love.filesystem