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

love.system.openURL

love.system.openURL Available since LÖVE 0.9.1 This function is not supported in earlier versions. Opens a URL with the user's web or file browser. Function Synopsis success = love.system.openURL( url ) Arguments string url The URL to open. Must be formatted as a proper URL. Returns boolean success Whether the URL was opened successfully. Examples Open love2d.org when the game is loaded. function love.load() love.system.openURL("http://love2d.org/") end Open the game's save direc

Mesh:setVertex

Mesh:setVertex Available since LÖVE 0.9.0 This function is not supported in earlier versions. Sets the properties of a vertex in the Mesh. Function Available since LÖVE 0.10.0 This variant is not supported in earlier versions. Synopsis Mesh:setVertex( index, attributecomponent, ... ) Arguments number index The index of the the vertex you want to modify. number attributecomponent The first component of the first vertex attribute in the specified vertex. number ... Additional componen

ParticleSystem:reset

ParticleSystem:reset Resets the particle emitter, removing any existing particles and resetting the lifetime counter. Function Synopsis ParticleSystem:reset( ) Arguments None. Returns Nothing. See Also ParticleSystem

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

love.physics.newMotorJoint

love.physics.newMotorJoint Available since LÖVE 0.9.0 This function is not supported in earlier versions. Creates a joint between two bodies which controls the relative motion between them. Position and rotation offsets can be specified once the MotorJoint has been created, as well as the maximum motor force and torque that will be be applied to reach the target offsets. Function Synopsis joint = love.physics.newMotorJoint( body1, body2, correctionFactor ) Arguments Body body1 The first

ParticleSystem:getCount

ParticleSystem:getCount Available since LÖVE 0.9.0 It has been renamed from ParticleSystem:count. Gets the number of particles that are currently in the system. Function Synopsis count = ParticleSystem:getCount( ) Arguments None. Returns number count The current number of live particles. See Also ParticleSystem ParticleSystem:getBufferSize

love.graphics.newScreenshot

love.graphics.newScreenshot Creates a screenshot and returns the image data. This function can be slow if it is called repeatedly, such as from love.update or love.draw. If you need to use a specific resource often, create it once and store it somewhere it can be reused! Function Synopsis screenshot = love.graphics.newScreenshot( ) Arguments None. Returns ImageData screenshot The image data of the screenshot. Function Available since LÖVE 0.9.0 This variant is not supported in earlier

Video:getHeight

Video:getHeight Available since LÖVE 0.10.0 This function is not supported in earlier versions. Gets the height of the Video in pixels. Function Synopsis height = Video:getHeight( ) Arguments None. Returns number height The height of the Video. See Also Video Video:getWidth Video:getDimensions