Difference between revisions of "0.10.0"

m (Updated changelog)
m (Updated changelog)
Line 40: Line 40:
 
* Added [[Text]] objects and [[love.graphics.newText]].
 
* Added [[Text]] objects and [[love.graphics.newText]].
 
* Added BMFont bitmap font file support to [[love.graphics.newFont]] and [[love.font]].
 
* Added BMFont bitmap font file support to [[love.graphics.newFont]] and [[love.font]].
 +
* Added kerning support for TrueType/OpenType and BMFont [[Font]]s.
 
* Added an optional font hinting argument to [[love.graphics.newFont]] when loading TrueType fonts.
 
* Added an optional font hinting argument to [[love.graphics.newFont]] when loading TrueType fonts.
 
* Added an optional spacing argument to [[love.graphics.newImageFont]], which applies additional spacing to all rendered glyphs.
 
* Added an optional spacing argument to [[love.graphics.newImageFont]], which applies additional spacing to all rendered glyphs.
 
* Added [[Font:setFallbacks]].
 
* Added [[Font:setFallbacks]].
 
* Added [[love.window.maximize]].
 
* Added [[love.window.maximize]].
 +
* Added [[love.window.close]].
 
* Added [[love.window.requestAttention]].
 
* Added [[love.window.requestAttention]].
 
* Added [[BezierCurve:renderSegment]] and [[BezierCurve:removePoint]].
 
* Added [[BezierCurve:renderSegment]] and [[BezierCurve:removePoint]].
Line 90: Line 92:
 
* Fixed [[utf8|utf8.char]].
 
* Fixed [[utf8|utf8.char]].
 
* Fixed detection of fused executables.
 
* Fixed detection of fused executables.
 +
* Fixed [[World:getCallbacks]] and [[World:getContactFilter]] when used in coroutines.
 +
* Fixed crashes when objects which store Lua callback functions are garbage collected after being used in coroutines.
 
* Fixed [[love.keyboard.getKeyFromScancode]] crashing when an invalid scancode is given.
 
* Fixed [[love.keyboard.getKeyFromScancode]] crashing when an invalid scancode is given.
 
* Fixed decoding of 8-bit WAV files.
 
* Fixed decoding of 8-bit WAV files.
Line 97: Line 101:
 
* Fixed the default offset for particles when [[ParticleSystem:setQuads]] or [[ParticleSystem:setTexture]] is used.
 
* Fixed the default offset for particles when [[ParticleSystem:setQuads]] or [[ParticleSystem:setTexture]] is used.
 
* Fixed [[love.graphics.shear]] resetting all love.graphics transformations.
 
* Fixed [[love.graphics.shear]] resetting all love.graphics transformations.
 +
* Fixed the <code>add</code> and <code>subtract</code> [[BlendMode]]s to no longer modify the alpha of the Canvas / screen.
  
 
=== Other changes ===
 
=== Other changes ===
Line 116: Line 121:
 
* 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.
 
* Updated the [[love.graphics.newShader|pixel shader effect]] function so screen_coords.y is 0 at the top of the screen instead of the bottom.
 
* Updated the [[love.graphics.newShader|pixel shader effect]] function so screen_coords.y is 0 at the top of the screen instead of the bottom.
 +
* 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 line drawing code to be more efficient.
 
* Updated [[love.graphics.newImage]]'s optional second argument to be a table of flags (flags are "mipmaps" and "srgb".)
 
* Updated [[love.graphics.newImage]]'s optional second argument to be a table of flags (flags are "mipmaps" and "srgb".)
 
* Updated [[Image]]s to require setting the mipmaps flag to true on creation in order to use mipmaps.
 
* Updated [[Image]]s to require setting the mipmaps flag to true on creation in order to use mipmaps.
 
* 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 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 the width/height variant of [[love.image.newImageData]] to take an additional optional string containing raw pixel data.
 +
* Updated [[ImageData:encode]] to return a [[FileData]] object containing the encoded image. [[ImageData:encode]]'s first parameter is now the format to encode to, and the second parameter is an optional filename to write to.
 
* Updated [[ImageData]] and [[SoundData]] methods to use efficient LuaJIT FFI code, when the JIT compiler is enabled.
 
* Updated [[ImageData]] and [[SoundData]] methods to use efficient LuaJIT FFI code, when the JIT compiler is enabled.
  
 
[[Category:Versions]]
 
[[Category:Versions]]

Revision as of 03:17, 27 July 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