WheelJoint:getAxis

WheelJoint:getAxis Available since LÖVE 0.10.2 This function is not supported in earlier versions. Gets the world-space axis vector of the Wheel Joint. Function Synopsis x, y = WheelJoint:getAxis( ) Arguments None. Returns number x The x-axis coordinate of the world-space axis vector. number y The y-axis coordinate of the world-space axis vector. See Also WheelJoint love.physics.newWheelJoint

World:isSleepingAllowed

World:isSleepingAllowed Available since LÖVE 0.9.0 It has been renamed from World:getAllowSleeping. Gets the sleep behaviour of the world. Function Synopsis allow = World:isSleepingAllowed( ) Arguments None. Returns boolean allow True if bodies in the world are allowed to sleep, or false if not. See Also World World:setSleepingAllowed

love.graphics.setFont

love.graphics.setFont Set an already-loaded Font as the current font or create and load a new one from the file and size. It's recommended that Font objects are created with love.graphics.newFont in the loading stage and then passed to this function in the drawing stage. Function Synopsis love.graphics.setFont( font ) Arguments Font font The Font object to use. Returns Nothing. Function Removed in LÖVE 0.8.0 This variant is not supported in that and later versions. Synopsis love.graph

ParticleSystem:getInsertMode

ParticleSystem:getInsertMode Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets the mode used when the ParticleSystem adds new particles. Function Synopsis mode = ParticleSystem:getInsertMode( ) Arguments None. Returns ParticleInsertMode mode The mode used when the ParticleSystem adds new particles. See Also ParticleSystem ParticleSystem:setInsertMode

Contact:getChildren

Contact:getChildren Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets the child indices of the shapes of the two colliding fixtures. For ChainShapes, an index of 1 is the first edge in the chain. Used together with Fixture:rayCast or ChainShape:getChildEdge. Function Synopsis indexA, indexB = Contact:getChildren( ) Arguments None. Returns number indexA The child index of the first fixture's shape. number indexB The child index of the second fixture's s

Font:getBaseline

Font:getBaseline Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets the baseline of the Font. Most scripts share the notion of a baseline: an imaginary horizontal line on which characters rest. In some scripts, parts of glyphs lie below the baseline. Function Synopsis baseline = Font:getBaseline( ) Arguments None. Returns number baseline The baseline of the Font in pixels. See Also Font Font:getAscent Font:getDescent

Mesh:setVertexMap

Mesh:setVertexMap Available since LÖVE 0.9.0 This function is not supported in earlier versions. Sets the vertex map for the Mesh. The vertex map describes the order in which the vertices are used when the Mesh is drawn. The vertices, vertex map, and mesh draw mode work together to determine what exactly is displayed on the screen. The vertex map allows you to re-order or reuse vertices when drawing without changing the actual vertex parameters or duplicating vertices. It is especially use

love.font.newTrueTypeRasterizer

love.font.newTrueTypeRasterizer Available since LÖVE 0.7.0 This function is not supported in earlier versions. Creates a new TrueType Rasterizer. Function Create a TrueTypeRasterizer with the default font. Synopsis rasterizer = love.font.newTrueTypeRasterizer( size, hinting_mode ) Arguments number size The font size. HintingMode hinting_mode True Type hinting mode. Returns TrueTypeRasterizer rasterizer The rasterizer. See Also love.font love.font.newRasterizer love.font.newBMF

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

Body:setLinearVelocity

Body:setLinearVelocity Sets a new linear velocity for the Body. This function will not accumulate anything; any impulses previously applied since the last call to World:update will be lost. Function Synopsis Body:setLinearVelocity( x, y ) Arguments number x The x-component of the velocity vector. number y The y-component of the velocity vector. Returns Nothing. See Also Body