PolygonShape:validate

PolygonShape:validate Available since LÖVE 0.9.0 This function is not supported in earlier versions. Validates whether the PolygonShape is convex. Concave PolygonShapes cannot be used in love.physics. Function Synopsis convex = PolygonShape:validate() Arguments None. Returns boolean convex Whether the PolygonShape is convex. See Also PolygonShape

love.thread.newChannel

love.thread.newChannel Available since LÖVE 0.9.0 This function is not supported in earlier versions. Create a new unnamed thread channel. One use for them is to pass new unnamed channels to other threads via Channel:push on a named channel. Function Synopsis channel = love.thread.newChannel( ) Arguments None. Returns Channel channel The new Channel object. See Also love.thread Channel

Fixture:setFilterData

Fixture:setFilterData Available since LÖVE 0.8.0 This method is not supported in earlier versions. Sets the filter data of the fixture. Groups, categories, and mask can be used to define the collision behaviour of the fixture. If two fixtures are in the same group they either always collide if the group is positive, or never collide if it's negative. If the group is zero or they do not match, then the contact filter checks if the fixtures select a category of the other fixture with their

Body:applyAngularImpulse

Body:applyAngularImpulse Available since LÖVE 0.8.0 This method is not supported in earlier versions. Applies an angular impulse to a body. This makes a single, instantaneous addition to the body momentum. A body with with a larger mass will react less. The reaction does not depend on the timestep, and is equivalent to applying a force continuously for 1 second. Impulses are best used to give a single push to a body. For a continuous push to a body it is better to use Body:applyForce. Fun

love.joystick.isOpen

love.joystick.isOpen Removed in LÖVE 0.9.0 This function is not supported in that and later versions. Checks if the joystick is open. Function Synopsis open = love.joystick.isOpen( joystick ) Arguments number joystick The joystick to be checked Returns boolean open True if the joystick is open, false if it is closed. See Also love.joystick

Body:getLocalCenter

Body:getLocalCenter Get the center of mass position in local coordinates. Use Body:getWorldCenter to get the center of mass in world coordinates. Function Synopsis x, y = Body:getLocalCenter( ) Arguments None. Returns number x The x coordinate of the center of mass. number y The y coordinate of the center of mass. See Also Body

love.graphics.printf

love.graphics.printf Draws formatted text, with word wrap and alignment. See additional notes in love.graphics.print. In version 0.9.2 and earlier, wrapping was implemented by breaking up words by spaces and putting them back together to make sure things fit nicely within the limit provided. However, due to the way this is done, extra spaces between words would end up missing when printed on the screen, and some lines could overflow past the provided wrap limit. In version 0.10.0 and newer th

love.graphics.setDefaultFilter

love.graphics.setDefaultFilter Available since LÖVE 0.9.0 It has been renamed from love.graphics.setDefaultImageFilter. Sets the default scaling filters used with Images, Canvases, and Fonts. Function Synopsis love.graphics.setDefaultFilter( min, mag, anisotropy ) Arguments FilterMode min Filter mode used when scaling the image down. FilterMode mag Filter mode used when scaling the image up. number anisotropy (1) Maximum amount of Anisotropic Filtering used. Returns Nothing. Notes Th

love.window.toggleFullscreen

love.window.toggleFullscreen Available since LÖVE 0.9.0 This function is not supported in earlier versions. Enters or exits fullscreen. The display to use when entering fullscreen is chosen based on which display the window is currently in, if multiple monitors are connected. Function Synopsis success = love.window.setFullscreen( fullscreen ) Arguments boolean fullscreen Whether to enter or exit fullscreen mode. Returns boolean success True if successful, false otherwise. Function Sy

WheelJoint:setMotorSpeed

WheelJoint:setMotorSpeed Available since LÖVE 0.8.0 This method is not supported in earlier versions. Sets a new speed for the motor. Function Synopsis WheelJoint:setMotorSpeed( speed ) Arguments number speed The new speed for the joint motor in radians per second. Returns Nothing. See Also WheelJoint WheelJoint:getMotorSpeed