Body:isStatic

Body:isStatic Removed in LÖVE 0.8.0 This method is not supported in that and later versions. Get the static status of the body. A static body has no mass and a constant position. It will not react to collisions. Often used for walls. A dynamic body has mass and can move. It will react to collisions when the world is updated. Function Synopsis status = Body:isStatic( ) Arguments None. Returns boolean status The static status of the body. See Also Body

ParticleSystem:getLinearDamping

ParticleSystem:getLinearDamping Available since LÖVE 0.9.2 This function is not supported in earlier versions. Gets the amount of linear damping (constant deceleration) for particles. Function Synopsis min, max = ParticleSystem:getLinearDamping( ) Arguments None. Returns number min The minimum amount of linear damping applied to particles. number max The maximum amount of linear damping applied to particles. See Also ParticleSystem ParticleSystem:setLinearDamping

Fixture:setGroupIndex

Fixture:setGroupIndex Available since LÖVE 0.8.0 This method is not supported in earlier versions. Sets the group the fixture belongs to. Fixtures with the same group will always collide if the group is positive or never collide if it's negative. The group zero means no group. The groups range from -32768 to 32767. Function Synopsis Fixture:setGroupIndex( group ) Arguments number group The group as an integer from -32768 to 32767. Returns Nothing. See Also Fixture Fixture:getGroupI

Fixture:getUserData

Fixture:getUserData Available since LÖVE 0.8.0 This method is not supported in earlier versions. Returns the Lua value associated with this fixture. Use this function in one thread and one thread only. Using it in more threads will make Lua cry and most likely crash. Function Synopsis value = Fixture:getUserData( ) Arguments None. Returns any value The Lua value associated with the fixture. See Also Fixture Fixture:setUserData

Shape:getType

Shape:getType Gets a string representing the Shape. This function can be useful for conditional debug drawing. Function Synopsis type = Shape:getType( ) Arguments None. Returns ShapeType type The type of the Shape. Examples Printing the type of a shape shape1 = love.physics.newCircleShape( my_body, 0, 0, 20 ) print(shape1:getType()) -- outputs: 'circle'   shape2 = love.physics.newPolygonShape( my_body, ... ) print(shape2:getType()) -- outputs: 'polygon'   shape3 = love.physics.newRectangle

love.graphics.setLineStipple

love.graphics.setLineStipple Removed in LÖVE 0.8.0 This function is not supported in that and later versions. Sets the line stipple pattern. Function Synopsis love.graphics.setLineStipple( pattern, repeat ) Arguments number pattern A 16-bit pattern. number repeat (1) Repeat factor. Returns Nothing. Additional Information A stipple pattern is made up of a 16bit sequence of 0s and 1s, Just like binary. The pattern is repeated to complete the line. Using the repeat will stretch the patt

love.filesystem.mkdir

love.filesystem.mkdir Removed in LÖVE 0.9.0 It has been renamed to love.filesystem.createDirectory. Recursively creates a directory. When called with "a/b" it creates both "a" and "a/b", if they don't exist already. Function Synopsis ok = love.filesystem.mkdir( name ) Arguments string name The directory to create. Returns boolean ok True if the directory was created, false if not. See Also love.filesystem

love.filesystem.mount

love.filesystem.mount Available since LÖVE 0.9.0 This function is not supported in earlier versions. Mounts a zip file or folder in the game's save directory for reading. Function Synopsis success = love.filesystem.mount( archive, mountpoint ) Arguments string archive The folder or zip file in the game's save directory to mount. string mountpoint The new path the archive will be mounted to. Returns boolean success True if the archive was successfully mounted, false otherwise. Functi

BezierCurve:getControlPoint

BezierCurve:getControlPoint Available since LÖVE 0.9.0 This function is not supported in earlier versions. Get coordinates of the i-th control point. Indices start with 1. Function Synopsis x, y = BezierCurve:getControlPoint(i) Arguments number i Index of the control point. Returns number x Position of the control point along the x axis. number y Position of the control point along the y axis. See Also BezierCurve BezierCurve:getDegree BezierCurve:setControlPoint BezierCurve:

PixelEffect:getWarnings

PixelEffect:getWarnings Available since LÖVE 0.8.0 This function is not supported in earlier versions. Returns any warning messages from compiling the pixel effect code. This can be used for debugging your pixel effects if there's anything the graphics hardware doesn't like. Function Synopsis warnings = PixelEffect:getWarnings( ) Arguments None. Returns string warnings Warning messages (if any). See Also PixelEffect