Channel:clear

Channel:clear Available since LÖVE 0.9.0 This function is not supported in earlier versions. Clears all the messages in the Channel queue. Function Synopsis Channel:clear( ) Arguments None. Returns None. See Also Channel

CompressedImageData:getWidth

CompressedImageData:getWidth Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets the width of the CompressedImageData. Function Synopsis width = CompressedImageData:getWidth( ) Arguments None. Returns number width The width of the CompressedImageData. Function Synopsis width = CompressedImageData:getWidth( level ) Arguments number level A mipmap level. Must be in the range of [1, CompressedImageData:getMipmapCount()]. Returns number width The width

love.graphics.isGammaCorrect

love.graphics.isGammaCorrect Available since LÖVE 0.10.0 This function is not supported in earlier versions. Gets whether gamma-correct rendering is supported and enabled. It can be enabled by setting t.gammacorrect = true in love.conf. Not all devices support gamma-correct rendering, in which case it will be automatically disabled and this function will return false. It is supported on desktop systems which have graphics cards that are capable of using OpenGL 3 / DirectX 10, and iOS devic

World:translateOrigin

World:translateOrigin Available since LÖVE 0.9.0 This function is not supported in earlier versions. Translates the World's origin. Useful in large worlds where floating point precision issues become noticeable at far distances from the origin. Function Synopsis World:translateOrigin( x, y ) Arguments number x The x component of the new origin with respect to the old origin. number y The y component of the new origin with respect to the old origin. Returns Nothing. See Also World

(Image):getDimensions

(Image):getDimensions Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets the width and height of the Image. Function Synopsis width, height = Image:getDimensions( ) Arguments None. Returns number width The width of the Image, in pixels. number height The height of the Image, in pixels. See Also Image

Body:applyLinearImpulse

Body:applyLinearImpulse Available since LÖVE 0.8.0 This method is not supported in earlier versions. Applies an impulse to a body. This makes a single, instantaneous addition to the body momentum. An impulse pushes a body in a direction. A body with with a larger mass will react less. The reaction does not depend on the timestep, and is equivalent to applying a force continuously for 1 second. Impulses are best used to give a single push to a body. For a continuous push to a body it is bet

ParticleSystem:setEmissionRate

ParticleSystem:setEmissionRate Sets the amount of particles emitted per second. Function Synopsis ParticleSystem:setEmissionRate( rate ) Arguments number rate The amount of particles per second. Returns Nothing. See Also ParticleSystem

love.window.getTitle

love.window.getTitle Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets the window title. Function Synopsis title = love.window.getTitle( ) Arguments None. Returns string title The current window title. See Also love.window love.window.setTitle

love.graphics.getHeight

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

love.graphics.setPoint

love.graphics.setPoint Removed in LÖVE 0.9.0 Use love.graphics.setPointSize and love.graphics.setPointStyle. Sets the point size and style. Function Synopsis love.graphics.setPoint( size, style ) Arguments number size The new point size. PointStyle style The new point style. Returns Nothing. Examples Increase the point size by 1 and set it to smooth. local s = love.graphics.getPointSize() + 1 love.graphics.setPoint(s, "smooth") See Also love.graphics love.graphics.setPointSize l