SpriteBatch:unlock

SpriteBatch:unlock This has been changed to SpriteBatch:unbind

World:setAllowSleep

World:setAllowSleep Removed in LÖVE 0.8.0 This method is not supported in that and later versions. Set the sleep behaviour of the world. A sleeping body is much more efficient to simulate than when awake. If sleeping is allowed, any body that has come to rest will sleep. Function Synopsis World:setAllowSleep( permission ) Arguments boolean permission Permission for any body to sleep. Returns Nothing. See Also World

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

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.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

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