Difference between revisions of "0.9.0"

(Updated changelog)
(Updated changelog)
Line 79: Line 79:
 
* Added window [[love.resize|resize]] and [[love.visible|visible]] events.
 
* Added window [[love.resize|resize]] and [[love.visible|visible]] events.
 
* Added [[love.window.getIcon]].
 
* Added [[love.window.getIcon]].
 +
* Added t.window.icon to [[love.conf]].
  
 
* Added [[SoundData:getDuration]] and [[SoundData:getSampleCount]].
 
* Added [[SoundData:getDuration]] and [[SoundData:getSampleCount]].
 
* Added [[Source:isPlaying]].
 
* Added [[Source:isPlaying]].
 +
* Added [[Source:setRelativePosition]] and [[Source:hasRelativePosition]].
 +
* Added [[Source:setCone]] and [[Source:getCone]].
 +
* Added [[Source:getChannels]].
  
 
* Added new [[Channel]]s API for [[love.thread]].
 
* Added new [[Channel]]s API for [[love.thread]].
Line 125: Line 129:
 
=== Renamed APIs ===
 
=== Renamed APIs ===
 
* Renamed love's boot script to 'love.boot', which can be required.
 
* Renamed love's boot script to 'love.boot', which can be required.
 +
* Renamed [[love.filesystem.mkdir]] to [[love.filesystem.createDirectory]].
 +
* Renamed [[love.filesystem.enumerate]] to [[love.filesystem.getDirectoryItems]].
 
* Renamed [[World:setAllowSleeping]] and [[World:getAllowSleeping]] to [[World:setSleepingAllowed]] and [[World:isSleepingAllowed]].
 
* Renamed [[World:setAllowSleeping]] and [[World:getAllowSleeping]] to [[World:setSleepingAllowed]] and [[World:isSleepingAllowed]].
 +
* Renamed [[ChainShape:setPrevVertex]] to [[ChainShape:setPreviousVertex]].
 
* Renamed t.screen to t.window in [[love.conf]].
 
* Renamed t.screen to t.window in [[love.conf]].
 
* Renamed [[love.graphics.setCaption]] to [[love.window.setTitle]].
 
* Renamed [[love.graphics.setCaption]] to [[love.window.setTitle]].
Line 135: Line 142:
 
* Renamed [[ParticleSystem:count]] and all getNum* functions to get*Count.
 
* Renamed [[ParticleSystem:count]] and all getNum* functions to get*Count.
 
* Renamed [[SoundData:getBits]] and [[Decoder:getBits]] to [[SoundData:getBitDepth]] and [[Decoder:getBitDepth]].
 
* Renamed [[SoundData:getBits]] and [[Decoder:getBits]] to [[SoundData:getBitDepth]] and [[Decoder:getBitDepth]].
 +
* Renamed [[Source:setDistance]] and [[Source:getDistance]] to [[Source:setAttenuationDistances]] and [[Source:getAttenuationDistances]].
 
* Renamed [[love.mouse.setGrab]] to [[love.mouse.setGrabbed]].
 
* Renamed [[love.mouse.setGrab]] to [[love.mouse.setGrabbed]].
  
Line 204: Line 212:
 
* Updated most [[love.filesystem]] functions to return nil, error on internal failure.
 
* Updated most [[love.filesystem]] functions to return nil, error on internal failure.
  
 +
* Updated [[love.graphics.print]]'s x and y arguments to default to 0.
 
* Updated the setFilter and setWrap methods, the second argument is now optional.
 
* Updated the setFilter and setWrap methods, the second argument is now optional.
 
* Updated [[Font]] and [[ParticleSystem]] rendering code, now more performant.
 
* Updated [[Font]] and [[ParticleSystem]] rendering code, now more performant.
Line 215: Line 224:
 
* Updated [[love.image.newImageData]] and [[love.graphics.newImage]] to accept [[FileData]].
 
* Updated [[love.image.newImageData]] and [[love.graphics.newImage]] to accept [[FileData]].
 
* Updated [[ImageData:setPixel]] to accept a table and default to 255 alpha.
 
* Updated [[ImageData:setPixel]] to accept a table and default to 255 alpha.
* Updated [[ImageData:mapPixel]] to accept optional x,y,w,h arguments.
+
* Updated [[ImageData:mapPixel]], is now more efficient and now accepts optional x,y,w,h arguments.
* Updated [[ImageData:mapPixel]] to be more efficient.
 
 
* Updated [[love.image]] memory handling, improves errors and thread-safety.
 
* Updated [[love.image]] memory handling, improves errors and thread-safety.
  

Revision as of 02:32, 22 October 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 the lua-enet library.)
  • 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.
  • Added Joystick objects.
  • Added joystick add and remove events.
  • Added joystick axis and hat move events.
  • Added unified Gamepad API for joysticks which have a similar layout to the Xbox controller.
  • Added joystick vibration support.
  • 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.
  • Fixed a race condition in Source:play.

Other Changes

  • Updated functions which return LOVE objects to re-use the Lua-side object instead of always recreating it.
  • 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.filesystem to try to create the appdata directory if it doesn't exist yet.
  • 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