Difference between revisions of "0.9.2"

m
m (category)
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{notice|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.}}
+
[[File:0.9.0_no-game.png|thumb|no-game screen]]
The codename for LÖVE 0.9.2 is '''Baby Inspector'''. It is currently '''<span style="color:#ff0000;">not released</span>'''.
+
 
 +
The codename for LÖVE 0.9.2 is '''Baby Inspector'''. It is currently '''<span style="color:#0000ff;">released</span>'''.
  
 
== Changes from [[0.9.1]] ==
 
== Changes from [[0.9.1]] ==
Line 11: Line 12:
 
* Added [[ParticleSystem:setQuads]].
 
* Added [[ParticleSystem:setQuads]].
 
* Added [[ParticleSystem:setLinearDamping]].
 
* Added [[ParticleSystem:setLinearDamping]].
 +
* Added [[ParticleSystem:getLinearDamping]].
 
* Added [[SpriteBatch:flush]].
 
* Added [[SpriteBatch:flush]].
 
* Added [[love.graphics.getStats]].
 
* Added [[love.graphics.getStats]].
* Added "mirroredrepeat" [[WrapMode]].
+
* Added <code>mirroredrepeat</code> [[WrapMode]].
 
* Added [[love.audio.setDopplerScale]] and [[love.audio.getDopplerScale]].
 
* Added [[love.audio.setDopplerScale]] and [[love.audio.getDopplerScale]].
 
* Added optional duration argument to [[Joystick:setVibration]].
 
* Added optional duration argument to [[Joystick:setVibration]].
Line 23: Line 25:
 
* Added [[Body:getJointList]].
 
* Added [[Body:getJointList]].
 
* Added [[Contact:getFixtures]] and [[Body:getContactList]].
 
* Added [[Contact:getFixtures]] and [[Body:getContactList]].
* Added [[Body:isDestroyed]], [[Contact:isDestroyed]], [[Fixture:isDestroyed]], [[Joint:isDestroyed]], and [[World:isDestroyed]].
+
* Added [[Body:isDestroyed]], [[Fixture:isDestroyed]], [[Joint:isDestroyed]], and [[World:isDestroyed]].
 
* Added [[love.mousemoved]] event callback.
 
* Added [[love.mousemoved]] event callback.
 
* Added [[love.mouse.setRelativeMode]] and [[love.mouse.getRelativeMode]].
 
* Added [[love.mouse.setRelativeMode]] and [[love.mouse.getRelativeMode]].
Line 29: Line 31:
 
* Added [[love.window.getDisplayName]].
 
* Added [[love.window.getDisplayName]].
 
* Added [[love.window.minimize]].
 
* Added [[love.window.minimize]].
* Added [[love.window.maximize]].
 
 
* Added [[love.window.showMessageBox]].
 
* Added [[love.window.showMessageBox]].
 
* Added [[love.window.toPixels]] and [[love.window.fromPixels]].
 
* Added [[love.window.toPixels]] and [[love.window.fromPixels]].
Line 36: Line 37:
 
* Added <code>refreshrate</code> field to the table returned by [[love.window.getMode]].
 
* Added <code>refreshrate</code> field to the table returned by [[love.window.getMode]].
 
* Added [[love.filesystem.isSymlink]], [[love.filesystem.setSymlinksEnabled]], and [[love.filesystem.areSymlinksEnabled]].
 
* Added [[love.filesystem.isSymlink]], [[love.filesystem.setSymlinksEnabled]], and [[love.filesystem.areSymlinksEnabled]].
 +
* Added [[love.filesystem.getRealDirectory]].
  
 
=== Deprecations ===
 
=== Deprecations ===
 
* Deprecated [[SpriteBatch:bind]] and [[SpriteBatch:unbind]].
 
* Deprecated [[SpriteBatch:bind]] and [[SpriteBatch:unbind]].
 
* Deprecated all uses of the name 'FSAA' in favor of 'MSAA'.
 
* Deprecated all uses of the name 'FSAA' in favor of 'MSAA'.
* Deprecated the 'hdrcanvas' graphics feature enum in favor of [[love.graphics.getCanvasFormats]].
+
* Deprecated the <code>hdrcanvas</code> [[GraphicsFeature]] constant in favor of [[love.graphics.getCanvasFormats]].
* Deprecated the 'dxt' and 'bc5' graphics feature enums in favor of [[love.graphics.getCompressedImageFormats]].
+
* Deprecated the <code>dxt</code> and <code>bc5</code> [[GraphicsFeature]] constants in favor of [[love.graphics.getCompressedImageFormats]].
 
* Deprecated [[love.window.getWidth]], [[love.window.getHeight]], and [[love.window.getDimensions]] in favor of the [[love.graphics]] equivalents or [[love.window.getMode]].
 
* Deprecated [[love.window.getWidth]], [[love.window.getHeight]], and [[love.window.getDimensions]] in favor of the [[love.graphics]] equivalents or [[love.window.getMode]].
 +
 +
=== Renamed APIs ===
 +
* Renamed all cases of FSAA to MSAA. The FSAA names still exist for backward-compatibility.
  
 
=== Fixes ===
 
=== Fixes ===
Line 73: Line 78:
 
* Fixed the state of [[love.graphics.setWireframe|wireframe mode]] when love.window.setMode is called.
 
* Fixed the state of [[love.graphics.setWireframe|wireframe mode]] when love.window.setMode is called.
 
* Fixed [[love.window.setMode]] to fall back to the largest available mode if a width or height greater than the largest supported is specified and exclusive-fullscreen mode is used.
 
* Fixed [[love.window.setMode]] to fall back to the largest available mode if a width or height greater than the largest supported is specified and exclusive-fullscreen mode is used.
 
=== Renamed APIs ===
 
* Renamed all cases of FSAA to MSAA. The FSAA names still exist for backward-compatibility.
 
  
 
=== Other Changes ===
 
=== Other Changes ===
 
* Updated the Windows executable to always prefer the higher performance GPU on nvidia Optimus systems.
 
* Updated the Windows executable to always prefer the higher performance GPU on nvidia Optimus systems.
 
* Updated the --console command-line argument in Windows to open the console before conf.lua is loaded.
 
* Updated the --console command-line argument in Windows to open the console before conf.lua is loaded.
 +
* Updated [[love.conf|t.console]] and the --console command-line argument in Windows to use the existing console window, if LÖVE was launched from one.
 
* Updated the love executable to verify that the love library version matches before using it.
 
* Updated the love executable to verify that the love library version matches before using it.
 
* Updated the Lua wrapper code for modules to avoid crashes when the module's instance is created, deleted, and recreated.
 
* Updated the Lua wrapper code for modules to avoid crashes when the module's instance is created, deleted, and recreated.
Line 97: Line 100:
 
* Updated love shaders to accept GLSL ES precision qualifiers (<code>lowp</code>, <code>mediump</code>, and <code>highp</code>) on variables, although they do nothing.
 
* Updated love shaders to accept GLSL ES precision qualifiers (<code>lowp</code>, <code>mediump</code>, and <code>highp</code>) on variables, although they do nothing.
 
* Updated the error message for [[love.graphics.newShader]] to be less cryptic if an invalid filename is given.
 
* Updated the error message for [[love.graphics.newShader]] to be less cryptic if an invalid filename is given.
* Updated compressed texture loading code to allow BC6 and BC7 [[CompressedFormat|compressed textures]] (if the graphics driver supports them.)
+
* Updated compressed texture loading code to support BC6 and BC7 [[CompressedFormat|compressed textures]] (if the graphics driver supports them.)
 
 
 
 
[[File:0.9.0_no-game.png|thumb|no-game screen]]
 
  
[[Category:LoveVersions]]
+
[[Category:Versions]]

Latest revision as of 17:15, 10 May 2015

no-game screen

The codename for LÖVE 0.9.2 is Baby Inspector. It is currently released.

Changes from 0.9.1

Additions

Deprecations

Renamed APIs

  • Renamed all cases of FSAA to MSAA. The FSAA names still exist for backward-compatibility.

Fixes

Other Changes

  • Updated the Windows executable to always prefer the higher performance GPU on nvidia Optimus systems.
  • Updated the --console command-line argument in Windows to open the console before conf.lua is loaded.
  • Updated t.console and the --console command-line argument in Windows to use the existing console window, if LÖVE was launched from one.
  • Updated the love executable to verify that the love library version matches before using it.
  • Updated the Lua wrapper code for modules to avoid crashes when the module's instance is created, deleted, and recreated.
  • Updated internal code for handling garbage collection of love objects to be more efficient.
  • Updated love's initialization code to trigger a Lua error if love.conf has an error in it.
  • Updated love.filesystem.getSaveDirectory and friends to strip double-slashes ("//") from their returned paths.
  • Updated the error message when love.filesystem.write or File:open fails because the directory doesn't exist.
  • Updated error message when love.math.setRandomSeed(0) is attempted.
  • Updated the error message when invalid UTF-8 strings are used in love functions that expect UTF-8.
  • Updated love.physics.newChainShape to error if the number of arguments is invalid.
  • Updated love.physics.newPolygonShape and love.physics.newChainShape to accept a table of vertices.
  • Updated love.thread.newThread to accept a literal string of code.
  • Updated love-created threads to use names visible in external debuggers.
  • Updated SpriteBatch:unbind / SpriteBatch:flush to use less VRAM if the SpriteBatch has the static usage hint.
  • Updated love.graphics.newImage, love.image.newImageData, etc. to leave less temporary Lua-owned memory around.
  • Updated love.graphics.push to accept different stack types to push. Current types are "transform" and "all".
  • Updated love shaders to accept GLSL ES precision qualifiers (lowp, mediump, and highp) on variables, although they do nothing.
  • Updated the error message for love.graphics.newShader to be less cryptic if an invalid filename is given.
  • Updated compressed texture loading code to support BC6 and BC7 compressed textures (if the graphics driver supports them.)