Difference between revisions of "0.9.0"

(Update drawq/addq/setq)
(Updated changelog)
Line 35: Line 35:
 
* Added [[BlendMode]] "replace".
 
* Added [[BlendMode]] "replace".
 
* Added [[Geometry]] objects (replaces [[Quad]]s), allowing for arbitrary textured polygons.
 
* Added [[Geometry]] objects (replaces [[Quad]]s), allowing for arbitrary textured polygons.
* Added [[love.graphics.setCanvases]] (multiple render targets.)
+
* Added multiple render target support to [[love.graphics.setCanvas]].
 
* Added [[love.graphics.setColorMask]].
 
* Added [[love.graphics.setColorMask]].
 
* Added [[love.graphics.setAlphaTest]].
 
* Added [[love.graphics.setAlphaTest]].
 
* Added [[love.graphics.origin]].
 
* Added [[love.graphics.origin]].
 
* Added [[love.graphics.getRendererInfo]].
 
* Added [[love.graphics.getRendererInfo]].
 +
* Added [[love.graphics.getMaxImageSize]].
 
* Added [[SpriteBatch:getCount]] and [[SpriteBatch:getBufferSize]].
 
* Added [[SpriteBatch:getCount]] and [[SpriteBatch:getBufferSize]].
 
* Added [[SpriteBatch:getColor]].
 
* Added [[SpriteBatch:getColor]].
Line 89: Line 90:
 
* Removed [[love.graphics.setLine]] and [[love.graphics.setPoint]].
 
* Removed [[love.graphics.setLine]] and [[love.graphics.setPoint]].
 
* Removed [[Quad]] objects (replaced by [[Geometry]]).
 
* Removed [[Quad]] objects (replaced by [[Geometry]]).
 +
* Removed [[love.graphics.drawq]] (functionality is merged into [[love.graphics.draw]]).
 +
* Removed [[SpriteBatch:addq]] and [[SpriteBatch:setq]] (functionality is merged into [[SpriteBatch:add]] and [[SpriteBatch:set]]).
 
* Removed [[ParticleSystem:isFull]] and [[ParticleSystem:isEmpty]].
 
* Removed [[ParticleSystem:isFull]] and [[ParticleSystem:isEmpty]].
 
* Removed [[love.joystick.open]] and friends.
 
* Removed [[love.joystick.open]] and friends.
Line 97: Line 100:
  
 
=== Renamed APIs ===
 
=== Renamed APIs ===
 +
* Renamed love's boot script to 'love.boot', which can be required.
 +
* Renamed t.screen to t.window in [[love.conf]].
 
* Renamed [[PixelEffect]] to [[Shader]] (but now with vertex shaders).
 
* Renamed [[PixelEffect]] to [[Shader]] (but now with vertex shaders).
 
* Renamed [[love.graphics.setDefaultImageFilter]] to [[love.graphics.setDefaultFilter]].
 
* Renamed [[love.graphics.setDefaultImageFilter]] to [[love.graphics.setDefaultFilter]].
Line 102: Line 107:
 
* Renamed [[ParticleSystem:setGravity]] to [[ParticleSystem:setLinearAcceleration]].
 
* Renamed [[ParticleSystem:setGravity]] to [[ParticleSystem:setLinearAcceleration]].
 
* Renamed [[ParticleSystem:setLifetime]] and [[ParticleSystem:setParticleLife]] to [[ParticleSystem:setEmitterLifetime]] and [[ParticleSystem:setParticleLifetime]].
 
* Renamed [[ParticleSystem:setLifetime]] and [[ParticleSystem:setParticleLife]] to [[ParticleSystem:setEmitterLifetime]] and [[ParticleSystem:setParticleLifetime]].
* Merged [[love.graphics.drawq]] to [[love.graphics.draw]].
 
* Merged [[SpriteBatch:addq]] and [[SpriteBatch:setq]] to [[SpriteBatch:add]] and [[SpriteBatch:set]] respectively.
 
 
* Renamed [[ParticleSystem:count]] and all getNum* functions to get*Count.
 
* Renamed [[ParticleSystem:count]] and all getNum* functions to get*Count.
 
* Renamed [[SoundData:getBits]] to [[SoundData:getBitDepth]].
 
* Renamed [[SoundData:getBits]] to [[SoundData:getBitDepth]].
Line 117: Line 120:
 
* Fixed Box2D exception in [[World:update]].
 
* Fixed Box2D exception in [[World:update]].
 
* Fixed many uncaught Box2D / [[love.physics]] exceptions for [[Body|Bodies]] and [[Joint]]s.
 
* Fixed many uncaught Box2D / [[love.physics]] exceptions for [[Body|Bodies]] and [[Joint]]s.
 +
* Fixed [[ChainShape:getPoints]] running out of Lua stack space and crashing.
  
 
* Fixed [[(File):read]] reading past end of file.
 
* Fixed [[(File):read]] reading past end of file.
Line 155: Line 159:
 
* Moved window-related functions from [[love.graphics]] to [[love.window]].
 
* Moved window-related functions from [[love.graphics]] to [[love.window]].
  
* Renamed love's boot script to 'love.boot', which can be required.
 
 
* Updated the windows console, it now tries to re-use an active one first.
 
* Updated the windows console, it now tries to re-use an active one first.
 
* Updated error handling, error handlers now get resolved when the error occurs.
 
* Updated error handling, error handlers now get resolved when the error occurs.

Revision as of 04:04, 25 July 2013

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.9.0 is Baby Inspector. It is currently not released.

Changes from 0.8.0

Additions

  • Added better multiplayer networking support with ENet (via lua-enet.)
  • Added --fused command line argument, to simulate fusing.
  • Added liblove.
  • Added the ability to have exit values.
  • Added exit value of 1 in case of error by default.
  • Added basic support for the file:// uri scheme.
  • Added love.timer.getAverageDelta.
  • Added Data:getString.
  • Added Contact:getChildren.
  • OPTIONAL: Added support for Game Music Emu.

Removals

Renamed APIs

Fixes

  • Fixed memory leak in the mp3 decoder.
  • Fixed sound issues with some versions of OpenAL soft, by enabling direct channels.
  • Fixed 'random' hangs in audio.
  • Fixed case (in)sensitivity of sound file extension parsing.
  • Fixed looping support in tracker music formats.
  • Fixed skipping/looping issues when playing streaming audio Sources.

Other Changes

  • Updated the windows console, it now tries to re-use an active one first.
  • Updated error handling, error handlers now get resolved when the error occurs.
  • Updated order of sleep/present in love.run (now draws, *then* sleeps).
  • Updated love.keypressed's second argument to be a unicode character string.
  • Updated the default filesystem identity to omit file extension.
  • Updated love.filesystem.newFile to optionally open the file.
  • Updated most love.filesystem functions to return nil, error on internal failure.
  • Updated Thread:start to accept arguments. The arguments are available in the thread via ... (the vararg expression.)
no-game screen