Difference between revisions of "0.9.0"

m
(Updated changelog)
Line 24: Line 24:
  
 
* Added [[love.textinput|textinput]] event for unicode text input.
 
* Added [[love.textinput|textinput]] event for unicode text input.
 +
* Added [[love.keyboard.setTextInput]] and [[love.keyboard.hasTextInput]].
  
 
* Added previously internal [[Rasterizer]] and [[GlyphData]] methods.
 
* Added previously internal [[Rasterizer]] and [[GlyphData]] methods.
Line 100: Line 101:
 
=== Removals ===
 
=== Removals ===
 
* Removed release mode (but Fused mode is still there.)
 
* Removed release mode (but Fused mode is still there.)
* Removed [[love.keyboard.setKeyRepeat]] and [[love.keyboard.getKeyRepeat]].
+
* Removed [[love.keyboard.getKeyRepeat]] (see [[love.keyboard.hasKeyRepeat]]).
 
* Removed the unicode argument from [[love.keypressed]] (see [[love.textinput]]).
 
* Removed the unicode argument from [[love.keypressed]] (see [[love.textinput]]).
  
Line 122: Line 123:
 
=== 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 [[World:setAllowSleeping]] and [[World:getAllowSleeping]] to [[World:setSleepingAllowed]] and [[World:isSleepingAllowed]].
 
* 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 131: Line 133:
 
* 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 [[love.mouse.setGrab]] to [[love.mouse.setGrabbed]].
  
 
=== Fixes ===
 
=== Fixes ===
Line 182: Line 185:
 
* Moved love's startup to modules/love.
 
* Moved love's startup to modules/love.
 
* Moved window-related functions from [[love.graphics]] to [[love.window]].
 
* Moved window-related functions from [[love.graphics]] to [[love.window]].
 +
 +
* 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 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.
 
* Updated order of sleep/present in [[love.run]] (now draws, *then* sleeps).
 
* Updated order of sleep/present in [[love.run]] (now draws, *then* sleeps).
 +
 +
* Updated [[love.keyboard.setKeyRepeat]] to take a boolean argument instead of numbers.
 
* Updated [[love.keypressed]]'s second argument to indicate whether the keypress is a repeat.
 
* Updated [[love.keypressed]]'s second argument to indicate whether the keypress is a repeat.
 
* Updated keyboard [[KeyConstant|key constants]] with some modern keyboard keys.
 
* Updated keyboard [[KeyConstant|key constants]] with some modern keyboard keys.

Revision as of 07:54, 16 September 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.
  • 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 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