Difference between revisions of "0.10.0"

m (Remove duplicate line)
m (Updated changelog)
Line 12: Line 12:
 
* Added [[love.filedropped]] and [[love.directorydropped]] event callback functions.
 
* Added [[love.filedropped]] and [[love.directorydropped]] event callback functions.
 
* Added [[love.lowmemory]] event callback function, called when the app is running out of memory on mobile operating systems.
 
* Added [[love.lowmemory]] event callback function, called when the app is running out of memory on mobile operating systems.
 +
* Added [[love.textedited]] event callback function, called when the user is compositing text (e.g. via an IME.)
 
* Added [[love.wheelmoved]] event callback function (replaces "wu" and "wd" constants for [[love.mousepressed]].)
 
* Added [[love.wheelmoved]] event callback function (replaces "wu" and "wd" constants for [[love.mousepressed]].)
 
* Added [[love.mouse.hasCursor]].
 
* Added [[love.mouse.hasCursor]].
Line 19: Line 20:
 
* Added [[love.graphics.ellipse]].
 
* Added [[love.graphics.ellipse]].
 
* Added rounded-rectangle support to [[love.graphics.rectangle]].
 
* Added rounded-rectangle support to [[love.graphics.rectangle]].
 +
* Added an optional boolean argument to [[love.graphics.setBlendMode]] which indicates whether the blend mode should multiply alpha with rgb for the source color. It is true by default.
 +
* Added a new built-in [[Shader Variables|shader variable]]: "mat3 NormalMatrix".
 
* Added [[love.graphics.getSupported]] (replaces [[love.graphics.isSupported]].)
 
* Added [[love.graphics.getSupported]] (replaces [[love.graphics.isSupported]].)
 
* Added [[love.graphics.getSystemLimits]] (replaces [[love.graphics.getSystemLimit]].)
 
* Added [[love.graphics.getSystemLimits]] (replaces [[love.graphics.getSystemLimit]].)
Line 41: Line 44:
 
* Added [[Font:setFallbacks]].
 
* Added [[Font:setFallbacks]].
 
* Added [[love.window.maximize]].
 
* Added [[love.window.maximize]].
 +
* Added [[love.window.requestAttention]].
 
* Added [[BezierCurve:renderSegment]] and [[BezierCurve:removePoint]].
 
* Added [[BezierCurve:renderSegment]] and [[BezierCurve:removePoint]].
 
* Added [[BezierCurve:getSegment]].
 
* Added [[BezierCurve:getSegment]].
Line 59: Line 63:
 
* Removed [[love.graphics.setStencil]] (replaced by [[love.graphics.stencil]] and [[love.graphics.setStencilTest]].)
 
* Removed [[love.graphics.setStencil]] (replaced by [[love.graphics.stencil]] and [[love.graphics.setStencilTest]].)
 
* Removed the "canvas", "shader", "npot", "subtractive", and "mipmap" [[GraphicsFeature]] constants (the features always have guaranteed support now.)
 
* Removed the "canvas", "shader", "npot", "subtractive", and "mipmap" [[GraphicsFeature]] constants (the features always have guaranteed support now.)
 +
* Removed the "premultiplied" [[BlendMode]] ([[love.graphics.setBlendMode]]("alpha", false) now does the same thing.)
 
* Removed [[Canvas:getPixel]] (use [[Canvas:newImageData]] instead.)
 
* Removed [[Canvas:getPixel]] (use [[Canvas:newImageData]] instead.)
 
* Removed [[Canvas:clear]] (use [[love.graphics.clear]] instead.)
 
* Removed [[Canvas:clear]] (use [[love.graphics.clear]] instead.)
Line 107: Line 112:
 
* Updated the default font to use less memory.
 
* Updated the default font to use less memory.
 
* Updated [[Font:getWrap]]'s second return value to be a table containing the text split into lines.
 
* Updated [[Font:getWrap]]'s second return value to be a table containing the text split into lines.
 +
* Updated [[love.graphics.setColor]] to affect all drawn objects, including [[ParticleSystem]]s, [[SpriteBatch]]es, and [[Mesh]]es, even when per-vertex or per-sprite colors are used.
 
* Updated the default [[FullscreenType|fullscreen type]] to be "desktop" rather than "exclusive".
 
* Updated the default [[FullscreenType|fullscreen type]] to be "desktop" rather than "exclusive".
 
* Updated the minimum runtime system requirements of LOVE to require OpenGL 2.1 or OpenGL ES 2 support.
 
* Updated the minimum runtime system requirements of LOVE to require OpenGL 2.1 or OpenGL ES 2 support.
Line 114: Line 120:
 
* Updated [[Image]]s to allow mipmaps for non-power-of-two sizes.
 
* Updated [[Image]]s to allow mipmaps for non-power-of-two sizes.
 
* Updated the arguments for the standard variants of [[love.graphics.newMesh]]. They're now [[love.graphics.newMesh]](vertices [, drawmode, usage]) and [[love.graphics.newMesh]](vertexcount [, drawmode, usage]).
 
* Updated the arguments for the standard variants of [[love.graphics.newMesh]]. They're now [[love.graphics.newMesh]](vertices [, drawmode, usage]) and [[love.graphics.newMesh]](vertexcount [, drawmode, usage]).
* Updated [[Mesh:setVertex]] to require every component of every attribute in the vertex, instead of having default values.
+
* Updated line drawing code to be more efficient.
 +
* Updated the width/height variant of [[love.image.newImageData]] to take an additional optional string containing raw pixel data.
 +
* Updated [[ImageData]] and [[SoundData]] methods to use efficient LuaJIT FFI code, when the JIT compiler is enabled.
  
 
[[Category:Versions]]
 
[[Category:Versions]]

Revision as of 01:13, 29 June 2015

O.png The information on this page may not be accurate or up to date due to the information pertaining to a version that is currently in development.  


The codename for LÖVE 0.10.0 is not yet announced. It is currently not released.

Changes from 0.9.2

Additions

Removals

Renamed APIs

Bugfixes

Other changes