Difference between revisions of "0.9.1"
m |
(Updated changelog) |
||
Line 6: | Line 6: | ||
* Added [[Source:clone]]. | * Added [[Source:clone]]. | ||
* Added [[ParticleSystem:clone]]. | * Added [[ParticleSystem:clone]]. | ||
− | * Added [[ | + | * Added [[love.graphics.setWireframe]] and [[love.graphics.isWireframe]] for debugging. |
* Added [[Mesh:setDrawRange]] and [[Mesh:getDrawRange]]. | * Added [[Mesh:setDrawRange]] and [[Mesh:getDrawRange]]. | ||
* Added instancing support for meshes with [[Mesh:setInstanceCount]]. | * Added instancing support for meshes with [[Mesh:setInstanceCount]]. | ||
Line 19: | Line 19: | ||
* Added <code>love_ScreenSize</code> built-in [[Shader Variables|shader variable]]. | * Added <code>love_ScreenSize</code> built-in [[Shader Variables|shader variable]]. | ||
* Added [[love.getVersion]]. | * Added [[love.getVersion]]. | ||
+ | * Added support for gamma-correct rendering. | ||
+ | ** Added a boolean <code>srgb</code> window setting to [[love.conf]] and [[love.window.setMode]]. | ||
+ | ** Added variant of [[love.graphics.newImage]] which interprets the image in the sRGB colorspace. | ||
+ | ** Added a new [[TextureFormat]] "srgb" for use with [[Canvas]]es. | ||
+ | * Added [[GraphicsFeature|love.graphics.isSupported("srgb")]] | ||
+ | * Added [[love.math.gammaToLinear]] and [[love.math.linearToGamma]]. | ||
=== Deprecations === | === Deprecations === | ||
Line 40: | Line 46: | ||
* Updated [[Canvas:renderTo]] to work properly if a Canvas is currently active. | * Updated [[Canvas:renderTo]] to work properly if a Canvas is currently active. | ||
* Updated [[ParticleSystem:setEmissionRate]] to accept non-integer numbers. | * Updated [[ParticleSystem:setEmissionRate]] to accept non-integer numbers. | ||
+ | * Updated [[Source:play]] to return a boolean indicating success. | ||
+ | * Updated t.console in [[love.conf]] to create the console before modules are loaded in Windows. | ||
Revision as of 21:19, 5 February 2014
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.1 is Baby Inspector. It is currently not released.
Changes from 0.9.0
Additions
- Added Source:clone.
- Added ParticleSystem:clone.
- Added love.graphics.setWireframe and love.graphics.isWireframe for debugging.
- Added Mesh:setDrawRange and Mesh:getDrawRange.
- Added instancing support for meshes with Mesh:setInstanceCount.
- Added CircleShape:getPoint and CircleShape:setPoint.
- Added Mesh:setTexture, SpriteBatch:setTexture, and ParticleSystem:setTexture. Accepts Canvases and Images.
- Added high-dpi window support for Retina displays in OS X, via the 'highdpi' window flag.
- Added love.window.getPixelScale.
- Added love.graphics.getSystemLimit.
- Added ParticleSystem:moveTo, has smoother emitter movement compared to ParticleSystem:setPosition.
- Added antialiasing support to Canvases.
- Added Canvas:getFSAA.
- Added
love_ScreenSize
built-in shader variable. - Added love.getVersion.
- Added support for gamma-correct rendering.
- Added a boolean
srgb
window setting to love.conf and love.window.setMode. - Added variant of love.graphics.newImage which interprets the image in the sRGB colorspace.
- Added a new TextureFormat "srgb" for use with Canvases.
- Added a boolean
- Added love.graphics.isSupported("srgb")
- Added love.math.gammaToLinear and love.math.linearToGamma.
Deprecations
- Deprecated Mesh:setImage, SpriteBatch:setImage, and ParticleSystem:setImage.
- Deprecated love.graphics.getMaxImageSize and love.graphics.getMaxPointSize.
Fixes
- Fixed love.graphics.scale with negative values causing incorrect line widths.
- Fixed Joystick:isDown using 0-based button index arguments.
- Fixed Source:setPitch to error when infinity or NaN is given.
- Fixed love.graphics.setCanvas() to restore the proper viewport and scissor rectangles.
- Fixed TrueType font glyphs which request a monochrome bitmap pixel mode.
- Fixed love.graphics.reset causing crashes when called in between love.graphics.push/pop.
- Fixed tab characters ("\t") to display properly with love.graphics.print.
Other Changes
- Updated the error text for love.filesystem’s module searchers when require fails.
- Updated the love.filesystem module searchers to be tried after package.preload instead of before.
- Updated love.graphics.newParticleSystem, love.graphics.newSpriteBatch, and love.graphics.newMesh to accept Canvases.
- Updated Canvas drawing code, texture coordinates are no longer flipped vertically.
- Updated Canvas:renderTo to work properly if a Canvas is currently active.
- Updated ParticleSystem:setEmissionRate to accept non-integer numbers.
- Updated Source:play to return a boolean indicating success.
- Updated t.console in love.conf to create the console before modules are loaded in Windows.