Difference between revisions of "0.10.0"

(Updated the changelog)
(Updated the changelog)
Line 24: Line 24:
 
* Added optional x/y/width/height arguments to [[love.keyboard.setTextInput]]. They tell the system where text will show up so on-screen keyboards can avoid that area.
 
* Added optional x/y/width/height arguments to [[love.keyboard.setTextInput]]. They tell the system where text will show up so on-screen keyboards can avoid that area.
 
* Added [[Source:getType]] (replaces [[Source:isStatic]].)
 
* Added [[Source:getType]] (replaces [[Source:isStatic]].)
 +
* Added [[Source:getDuration]] and [[Decoder:getDuration]].
 
* Added an optional string argument containing raw pixel data to the width/height variant of [[love.image.newImageData]].
 
* Added an optional string argument containing raw pixel data to the width/height variant of [[love.image.newImageData]].
 
* Added [[love.graphics.ellipse]].
 
* Added [[love.graphics.ellipse]].
Line 52: Line 53:
 
* Added new shader functions: gammaCorrectColor, gammaToLinear, and linearToGamma. The functions also have 'precise' and 'fast' variants.
 
* Added new shader functions: gammaCorrectColor, gammaToLinear, and linearToGamma. The functions also have 'precise' and 'fast' variants.
 
* Added [[Text]] objects and [[love.graphics.newText]].
 
* Added [[Text]] objects and [[love.graphics.newText]].
 +
* Added per-character color support to [[love.graphics.print]], [[love.graphics.printf]], and [[Text]] objects.
 
* 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 kerning support for TrueType/OpenType and BMFont [[Font]]s.
Line 129: Line 131:
 
* Fixed [[Canvas:renderTo]] to restore the previous canvases if an error occurs in the passed function.
 
* Fixed [[Canvas:renderTo]] to restore the previous canvases if an error occurs in the passed function.
 
* Fixed love.graphics.draw(canvas) to cause a Lua error if that canvas is the active one.
 
* Fixed love.graphics.draw(canvas) to cause a Lua error if that canvas is the active one.
 +
* Fixed [[Mesh:getVertexMap]] to return nil, rather than an empty table, if no vertex map has been set.
 
* Fixed [[love.graphics.getColorMask]].
 
* Fixed [[love.graphics.getColorMask]].
 
* 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.
Line 149: Line 152:
 
* Updated [[love.filesystem]] to enable [[love.filesystem.setSymlinksEnabled|symlinks]] by default.
 
* Updated [[love.filesystem]] to enable [[love.filesystem.setSymlinksEnabled|symlinks]] by default.
 
* Updated [[love.math.setRandomSeed]] and [[RandomGenerator:setSeed]] to produce better results for the first few random() calls.
 
* Updated [[love.math.setRandomSeed]] and [[RandomGenerator:setSeed]] to produce better results for the first few random() calls.
 +
* Updated [[love.math.random]] and [[RandomGenerator:random]] to produce slightly better results in general.
 
* Updated [[Source]] methods that deal with spatial audio to error rather than failing silently if the Source isn't mono.
 
* Updated [[Source]] methods that deal with spatial audio to error rather than failing silently if the Source isn't mono.
 
* Updated the 3D and 4D variants of [[love.math.noise]] to use Perlin noise rather than Simplex noise, to avoid patent issues.
 
* Updated the 3D and 4D variants of [[love.math.noise]] to use Perlin noise rather than Simplex noise, to avoid patent issues.
Line 154: Line 158:
 
* Updated the default font to use less memory.
 
* Updated the default font to use less memory.
 
* Updated the behavior of text wrapping with [[love.graphics.printf]] and [[Font:getWrap]] to work better.
 
* Updated the behavior of text wrapping with [[love.graphics.printf]] and [[Font:getWrap]] to work better.
 +
* Updated [[love.graphics.print]] and [[love.graphics.printf]] to no longer automatically round the x and y position arguments.
 
* Updated some of the error messages for [[love.graphics.newImage]] to be more descriptive.
 
* Updated some of the error messages for [[love.graphics.newImage]] to be more descriptive.
 
* Updated love.graphics color functions to automatically apply [[love.math.gammaToLinear]] to color values when gamma-correct rendering is enabled.
 
* Updated love.graphics color functions to automatically apply [[love.math.gammaToLinear]] to color values when gamma-correct rendering is enabled.

Revision as of 02:56, 8 November 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


Changed APIs


Renamed APIs


Removals


Bugfixes

  • Fixed utf8.char.
  • 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 decoding of 8-bit WAV files.
  • Fixed a crash issue when rewinding streaming ogg Sources, when certain versions of libvorbis are used.
  • Fixed love.audio.stop() not rewinding streaming Sources.
  • Fixed the stencil buffer in Canvases when an unsupported MSAA value is used to create the Canvas.
  • Fixed Canvas:renderTo to restore the previous canvases if an error occurs in the passed function.
  • Fixed love.graphics.draw(canvas) to cause a Lua error if that canvas is the active one.
  • Fixed Mesh:getVertexMap to return nil, rather than an empty table, if no vertex map has been set.
  • Fixed love.graphics.getColorMask.
  • Fixed the default offset for particles when ParticleSystem:setQuads or ParticleSystem:setTexture is used.
  • Fixed love.graphics.shear resetting all love.graphics transformations.
  • Fixed the "add" and "subtract" BlendModes to no longer modify the alpha of the Canvas / screen.


Performance improvements


Other changes