Body:setAngularVelocity

Body:setAngularVelocity Sets the angular velocity of a Body. The angular velocity is the rate of change of angle over time. This function will not accumulate anything; any impulses previously applied since the last call to World:update will be lost. Function Synopsis Body:setAngularVelocity( w ) Arguments number w The new angular velocity, in radians per second Returns Nothing. See Also Body

Body:setAngularDamping

Body:setAngularDamping Sets the angular damping of a Body See Body:getAngularDamping for a definition of angular damping. Angular damping can take any value from 0 to infinity. It is recommended to stay between 0 and 0.1, though. Other values will look unrealistic. Function Synopsis Body:setAngularDamping( damping ) Arguments number damping The new angular damping. Returns Nothing. See Also Body

Shape:isSensor

Shape:isSensor Removed in LÖVE 0.8.0 This function is not supported in that and later versions. Checks whether a Shape is a sensor or not. Function Synopsis s = Shape:isSensor( ) Arguments None. Returns boolean s True if sensor, false otherwise. See Also Shape

Source:getVelocity

Source:getVelocity Available since LÖVE 0.7.0 This function is not supported in earlier versions. Gets the velocity of the Source. Function Synopsis x, y, z = Source:getVelocity( ) Arguments None. Returns number x The X part of the velocity vector. number y The Y part of the velocity vector. number z The Z part of the velocity vector. See Also Source Source:setVelocity

Body:setY

Body:setY Set the y position of the body. This function cannot wake up the body. Function Synopsis Body:setY( y ) Arguments number y The y position. Returns Nothing. See Also Body

SpriteBatch:clear

SpriteBatch:clear Removes all sprites from the buffer. Function Synopsis SpriteBatch:clear( ) Arguments None. Returns Nothing. See Also SpriteBatch

love.conf

love.conf Introduction If a file called conf.lua is present in your game folder (or .love file), it is run before the LÖVE modules are loaded. You can use this file to overwrite the love.conf function, which is later called by the LÖVE 'boot' script. Using the love.conf function, you can set some configuration options, and change things like the default size of the window, which modules are loaded, and other stuff. love.conf The love.conf function takes one argument: a table filled with all th

love.window.setMode

love.window.setMode Available since LÖVE 0.9.0 Moved from love.graphics.setMode. Sets the display mode and properties of the window. If width or height is 0, setMode will use the width and height of the desktop. Changing the display mode may have side effects: for example, canvases will be cleared and values sent to shaders with Shader:send will be erased. Make sure to save the contents of canvases beforehand or re-draw to them afterward if you need to. Function Synopsis success = love.

WheelJoint:getJointTranslation

WheelJoint:getJointTranslation Available since LÖVE 0.8.0 This method is not supported in earlier versions. Returns the current joint translation. Function Synopsis position = WheelJoint:getJointTranslation( ) Arguments None. Returns number position The translation of the joint in meters. See Also WheelJoint

Source:stop

Source:stop Available since LÖVE 0.7.0 This function is not supported in earlier versions. Stops a Source. Function Synopsis Source:stop() Arguments None. Returns Nothing. See Also Source