Joint:setCollideConnected

Joint:setCollideConnected Removed in LÖVE 0.8.0 This function is not supported in that and later versions. Sets whether the connected Bodies should collide with each other. Function Synopsis Joint:setCollideConnected( collide ) Arguments boolean collide True for the Bodies to collide, false otherwise. Returns Nothing. See Also Joint

PrismaticJoint:setLimits

PrismaticJoint:setLimits Sets the limits. Function Synopsis PrismaticJoint:setLimits( lower, upper ) Arguments number lower The lower limit, usually in meters. number upper The upper limit, usually in meters. Returns Nothing. See Also PrismaticJoint

enet.host

enet.host Description An ENet host for communicating with peers. On creation it will bind to a port on an address, unless otherwise specified, which will keep other applications from binding to the same port and address. One can free the port by calling its destroy method; nil-ing the host object and calling collectgarbage() would work as well, since :destroy calls host:__gc internally, but this is cleaner: local host = enet.host_create("*:6789") host:destroy() Functions Function Description

love.physics.getDistance

love.physics.getDistance Available since LÖVE 0.8.0 This function is not supported in earlier versions. Returns the two closest points between two fixtures and their distance. This function does not work correctly in 0.8.0 and may terminate LÖVE without errors. Function Synopsis distance, x1, y1, x2, y2 = love.physics.getDistance( fixture1, fixture2 ) Arguments Fixture fixture1 The first fixture. Fixture fixture2 The second fixture. Returns number distance The distance of the two poi

love.keyboard.hasTextInput

love.keyboard.hasTextInput Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets whether text input events are enabled. Function Synopsis enabled = love.keyboard.hasTextInput( ) Arguments None. Returns boolean enabled Whether text input events are enabled. See Also love.keyboard love.keyboard.setTextInput love.textinput

Video:tell

Video:tell Available since LÖVE 0.10.0 This function is not supported in earlier versions. Gets the current playback position of the Video. Function Synopsis seconds = Video:tell( ) Arguments None. Returns number seconds The time in seconds since the beginning of the Video. See Also Video Video:rewind Video:seek

love.window.setFullscreen

love.window.setFullscreen 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 Synop

love.graphics.rectangle

love.graphics.rectangle Draws a rectangle. Function Synopsis love.graphics.rectangle( mode, x, y, width, height ) Arguments DrawMode mode How to draw the rectangle. number x The position of top-left corner along the x-axis. number y The position of top-left corner along the y-axis. number width Width of the rectangle. number height Height of the rectangle. Returns Nothing. Function Available since LÖVE 0.10.0 This variant is not supported in earlier versions. Draws a rectangle with

love.window.getHeight

love.window.getHeight Available since LÖVE 0.9.0 and removed in LÖVE 0.10.0 Use love.graphics.getHeight or love.window.getMode instead. Gets the height of the window. Function Synopsis height = love.window.getHeight( ) Arguments None. Returns number height The height of the window. See Also love.window love.window.getWidth love.window.getDimensions love.window.setMode

SpriteBatch:setImage

SpriteBatch:setImage Available since LÖVE 0.7.2 This method is not supported in earlier versions. Removed in LÖVE 0.10.0 Use SpriteBatch:setTexture instead. Replaces the image used for the sprites. Function Synopsis SpriteBatch:setImage( image ) Arguments Image image The new Image to use for the sprites. Returns Nothing. See Also SpriteBatch SpriteBatch:getImage