Body:setAngle

Body:setAngle Set the angle of the body. The angle is measured in radians. If you need to transform it from degrees, use math.rad. A value of 0 radians will mean "looking to the right". .Although radians increase counter-clockwise, the y axis points down so it becomes clockwise from our point of view. It is possible to cause a collision with another body by changing its angle. Function Synopsis Body:setAngle( angle ) Arguments number angle The angle in radians. Returns Nothing. See Al

love.gamepadpressed

love.gamepadpressed Available since LÖVE 0.9.0 This function is not supported in earlier versions. Called when a Joystick's virtual gamepad button is pressed. Function Synopsis love.gamepadpressed( joystick, button ) Arguments Joystick joystick The joystick object. GamepadButton button The virtual gamepad button. Returns Nothing. See Also love love.gamepadreleased Joystick:isGamepad

WheelJoint:getSpringDampingRatio

WheelJoint:getSpringDampingRatio Available since LÖVE 0.8.0 This method is not supported in earlier versions. Returns the damping ratio. Function Synopsis ratio = WheelJoint:getSpringDampingRatio( ) Arguments None. Returns number ratio The damping ratio. See Also WheelJoint WheelJoint:setSpringDampingRatio

Fixture:setMask

Fixture:setMask Available since LÖVE 0.8.0 This method is not supported in earlier versions. Fixture:setMask works in NOT.Categories selected will NOT collide with this fixture. If you want to work as Box2d works with Mask use instead Fixture:setFilterData Sets the category mask of the fixture. There can be up to 16 categories represented as a number from 1 to 16. This fixture will NOT collide with the fixtures that are in the selected categories if the other fixture also has a category

love.audio.getNumSources

love.audio.getNumSources Removed in LÖVE 0.9.0 It has been renamed to love.audio.getSourceCount. Gets the current number of simultaneously playing sources. Function Synopsis numSources = love.audio.getNumSources( ) Arguments None. Returns number numSources The current number of simultaneously playing sources. See Also love.audio

love.threaderror

love.threaderror Available since LÖVE 0.9.0 This callback is not supported in earlier versions. Callback function triggered when a Thread encounters an error. Function Synopsis love.threaderror( thread, errorstr ) Arguments Thread thread The thread which produced the error. string errorstr The error message. Returns Nothing. Example function love.load() mythread = love.thread.newThread("thread.lua") mythread:start() end   function love.threaderror(thread, errorstr) print("Thread

enet.peer:ping interval

enet.peer:ping interval Specifies the interval in milliseconds that pings are sent to the other end of the connection (defaults to 500). Function Synopsis peer:ping_interval(interval) Arguments number interval Time in milliseconds to wait before automatically calling peer:ping(). Returns Nothing. See Also lua-enet enet.peer enet.peer:ping

Shape:setMask

Shape:setMask Removed in LÖVE 0.8.0 Use Fixture:setMask instead. Sets which categories this shape should NOT collide with. With this function, you can exclude certain shape categories from collisions with this shape. The categories passed as parameters will be excluded from collisions - all others included. Function Synopsis Shape:setMask( ... ) Arguments number ... Numbers from 1-16. Returns Nothing. Examples Only collide with category 6 shape:setMask(1, 2, 3, 4, 5, 7, 8, 9, 10, 12, 1

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.system.getClipboardText

love.system.getClipboardText Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets text from the clipboard. Function Synopsis text = love.system.getClipboardText( ) Arguments None. Returns string text The text currently held in the system's clipboard. See Also love.system love.system.setClipboardText