WheelJoint:getMotorTorque

WheelJoint:getMotorTorque Available since LÖVE 0.8.0 This method is not supported in earlier versions. Returns the current torque on the motor. Function Synopsis torque = WheelJoint:getMotorTorque( invdt ) Arguments number invdt How long the force applies. Usually the inverse time step or 1/dt. Returns number torque The torque on the motor in newton meters. See Also WheelJoint

love.graphics.setPixelEffect

love.graphics.setPixelEffect Available since LÖVE 0.8.0 and removed in LÖVE 0.9.0 It has been renamed to love.graphics.setShader. Sets or resets a PixelEffect as the current pixel effect. All drawing operations until the next love.graphics.setPixelEffect will be drawn using the PixelEffect object specified. Function Synopsis love.graphics.setPixelEffect( pixeleffect ) Arguments PixelEffect pixeleffect The new pixel effect. Returns Nothing. Notes Sets the current pixel shader to a spec

(File):write

(File):write Write data to a file. Function Synopsis success, err = File:write( data, size ) Arguments string data The string data to write. number size (all) How many bytes to write. Returns boolean success Whether the operation was successful. string err The error string if an error occurred. Function Synopsis success, err = File:write( data, size ) Arguments Data data The Data object to write. number size (all) How many bytes to write. Returns boolean success Whether the operat

ParticleSystem:setQuads

ParticleSystem:setQuads Available since LÖVE 0.9.2 This function is not supported in earlier versions. Sets a series of Quads to use for the particle sprites. Particles will choose a Quad from the list based on the particle's current lifetime, allowing for the use of animated sprite sheets with ParticleSystems. Function Synopsis ParticleSystem:setQuads( quad1, quad2, ... ) Arguments Quad quad1 The first Quad to use. Quad quad2 The second Quad to use. Returns Nothing. See Also Particl

Body:getLocalPoint

Body:getLocalPoint Transform a point from world coordinates to local coordinates. Function Synopsis localX, localY = Body:getLocalPoint( worldX, worldY ) Arguments number worldX The x position in world coordinates. number worldY The y position in world coordinates. Returns number localX The x position in local coordinates. number localY The y position in local coordinates. See Also Body

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.ellipse

love.graphics.ellipse Available since LÖVE 0.10.0 This function is not supported in earlier versions. Draws an ellipse. Function Synopsis love.graphics.ellipse( mode, x, y, radiusx, radiusy ) Arguments DrawMode mode How to draw the ellipse. number x The position of the center along x-axis. number y The position of the center along y-axis. number radiusx The radius of the ellipse along the x-axis (half the ellipse's width.) number radiusy The radius of the ellipse along the y-axis (hal

love.graphics.newParticleSystem

love.graphics.newParticleSystem Creates a new ParticleSystem. 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 system = love.graphics.newParticleSystem( image, buffer ) Arguments Image image The image to use. number buffer The max number of particles at the same time. Returns ParticleSystem system A new ParticleSystem. Funct

love.graphics.getSystemLimit

love.graphics.getSystemLimit Available since LÖVE 0.9.1 and removed in LÖVE 0.10.0 It has been replaced by love.graphics.getSystemLimits. Gets the system-dependent maximum value for a love.graphics feature. Function Synopsis limit = love.graphics.getSystemLimit( limittype ) Arguments GraphicsLimit limittype The graphics feature to get the maximum value of. Returns number limit The system-dependent max value for the feature. See Also love.graphics

love.graphics.getColor

love.graphics.getColor Gets the current color. Function Synopsis r, g, b, a = love.graphics.getColor( ) Arguments None. Returns number r The red component (0-255). number g The green component (0-255). number b The blue component (0-255). number a The alpha component (0-255). See Also love.graphics