(File):isOpen

(File):isOpen Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets whether the file is open. Function Synopsis open = File:isOpen( ) Arguments None. Returns boolean open True if the file is currently open, false otherwise. See Also File File:open

MouseJoint:setDampingRatio

MouseJoint:setDampingRatio Available since LÖVE 0.8.0 This method is not supported in earlier versions. Sets a new damping ratio. Function Synopsis MouseJoint:setDampingRatio( ratio ) Arguments number ratio The new damping ratio. Returns Nothing. See Also MouseJoint MouseJoint:getDampingRatio

Framebuffer:renderTo

Framebuffer:renderTo Available since LÖVE 0.7.0 This function is not supported in earlier versions. Removed in LÖVE 0.8.0 It has been renamed to Canvas:renderTo. Render to the Framebuffer using a function. Function Synopsis Framebuffer:renderTo( func ) Arguments function func A function performing drawing operations. Returns Nothing. Notes This function will clear the target framebuffer. This is a shortcut to love.graphics.setRenderTarget: framebuffer:renderTo( func ) is the same

love.graphics.origin

love.graphics.origin Available since LÖVE 0.9.0 This function is not supported in earlier versions. Resets the current coordinate transformation. This function is always used to reverse any previous calls to love.graphics.rotate, love.graphics.scale, love.graphics.shear or love.graphics.translate. It returns the current transformation state to its defaults. Function Synopsis love.graphics.origin() Arguments None Returns Nothing. Example local image = love.graphics.newImage("path_to_your

ImageData:getString

ImageData:getString Removed in LÖVE 0.9.0 It has been moved to Data:getString. Gets the full ImageData as a string. Function Synopsis pixels = ImageData:getString( ) Arguments None. Returns string pixels The raw data. See Also ImageData

World:setAllowSleeping

World:setAllowSleeping Available since LÖVE 0.8.0 This method is not supported in earlier versions. Removed in LÖVE 0.9.0 It has been renamed to World:setSleepingAllowed. Sets the sleep behaviour of the world. Function Synopsis World:setAllowSleeping( allowSleep ) Arguments boolean allowSleep True if the bodies are allowed to sleep or false if not. Returns Nothing. See Also World World:getAllowSleeping

Source:isPlaying

Source:isPlaying Available since LÖVE 0.9.0 This function is not supported in earlier versions. Returns whether the Source is playing. Function Synopsis playing = Source:isPlaying( ) Arguments None. Returns boolean playing True if the Source is playing, false otherwise. See Also Source

Quad:getTextureDimensions

Quad:getTextureDimensions Available since LÖVE 0.10.2 This function is not supported in earlier versions. Gets reference texture dimensions initially specified in love.graphics.newQuad. Function Synopsis sw, sh = Quad:getTextureDimensions( ) Arguments None. Returns number sw The Texture width used by the Quad. number sh The Texture height used by the Quad. See Also Quad Quad:getViewport

enet.peer:disconnect later

enet.peer:disconnect later Request a disconnection from peer, but only after all queued outgoing packets are sent. Function Synopsis peer:disconnect_later(data) Arguments number data Optional integer value to be associated with the disconnect. Returns Nothing. See Also lua-enet enet.peer

Body:getWorld

Body:getWorld Available since LÖVE 0.9.2 This method is not supported in earlier versions. Gets the World the body lives in. Function Synopsis world = Body:getWorld( ) Arguments None. Returns World world The world the body lives in. See Also Body World