Difference between revisions of "0.9.1"
m |
m |
||
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | [[File:0.9.0_no-game.png|thumb|no-game screen]] | |
− | The codename for LÖVE 0.9.1 is '''Baby Inspector'''. It is currently '''<span style="color:# | + | |
+ | The codename for LÖVE 0.9.1 is '''Baby Inspector'''. It is currently '''<span style="color:#0000ff;">released</span>'''. | ||
== Changes from [[0.9.0]] == | == Changes from [[0.9.0]] == | ||
=== Additions === | === Additions === | ||
+ | * Added [[love.getVersion]]. | ||
+ | * Added [[love.system.openURL]]. | ||
+ | * Added "screen" [[BlendMode]]. | ||
* Added [[Source:clone]]. | * Added [[Source:clone]]. | ||
* Added [[ParticleSystem:clone]]. | * Added [[ParticleSystem:clone]]. | ||
+ | * Added [[ParticleSystem:moveTo]], has smoother emitter movement compared to [[ParticleSystem:setPosition]]. | ||
+ | * Added [[ParticleSystem:setRelativeRotation]]. | ||
* Added [[love.graphics.setWireframe]] and [[love.graphics.isWireframe]] for debugging. | * Added [[love.graphics.setWireframe]] and [[love.graphics.isWireframe]] for debugging. | ||
* Added [[Mesh:setDrawRange]] and [[Mesh:getDrawRange]]. | * Added [[Mesh:setDrawRange]] and [[Mesh:getDrawRange]]. | ||
− | |||
− | |||
* Added [[Mesh:setTexture]], [[SpriteBatch:setTexture]], and [[ParticleSystem:setTexture]]. Accepts [[Canvas]]es and [[Image]]s. | * Added [[Mesh:setTexture]], [[SpriteBatch:setTexture]], and [[ParticleSystem:setTexture]]. Accepts [[Canvas]]es and [[Image]]s. | ||
* Added high-dpi window support for Retina displays in OS X, via the 'highdpi' window flag. | * Added high-dpi window support for Retina displays in OS X, via the 'highdpi' window flag. | ||
* Added [[love.window.getPixelScale]]. | * Added [[love.window.getPixelScale]]. | ||
* Added [[love.graphics.getSystemLimit]]. | * Added [[love.graphics.getSystemLimit]]. | ||
− | |||
* Added antialiasing support to [[Canvas]]es. | * Added antialiasing support to [[Canvas]]es. | ||
* Added [[Canvas:getFSAA]]. | * Added [[Canvas:getFSAA]]. | ||
* Added <code>love_ScreenSize</code> built-in [[Shader Variables|shader variable]]. | * Added <code>love_ScreenSize</code> built-in [[Shader Variables|shader variable]]. | ||
− | |||
* Added support for gamma-correct rendering. | * Added support for gamma-correct rendering. | ||
** Added a boolean <code>srgb</code> window setting to [[love.conf]] and [[love.window.setMode]]. | ** Added a boolean <code>srgb</code> window setting to [[love.conf]] and [[love.window.setMode]]. | ||
Line 25: | Line 27: | ||
** Added [[GraphicsFeature|love.graphics.isSupported("srgb")]] | ** Added [[GraphicsFeature|love.graphics.isSupported("srgb")]] | ||
** Added [[love.math.gammaToLinear]] and [[love.math.linearToGamma]]. | ** Added [[love.math.gammaToLinear]] and [[love.math.linearToGamma]]. | ||
+ | * Added [[RandomGenerator:getState]] and [[RandomGenerator:setState]]. | ||
+ | * Added [[love.math.setRandomState]] and [[love.math.getRandomState]]. | ||
+ | * Added [[CircleShape:getPoint]] and [[CircleShape:setPoint]]. | ||
+ | * Added [[Body:setUserData]] and [[Body:getUserData]]. | ||
+ | * Added some missing obscure [[KeyConstant]]s. | ||
+ | * Added optional callback argument to [[love.filesystem.getDirectoryItems]]. | ||
=== Deprecations === | === Deprecations === | ||
Line 33: | Line 41: | ||
* Fixed [[love.graphics.scale]] with negative values causing incorrect line widths. | * Fixed [[love.graphics.scale]] with negative values causing incorrect line widths. | ||
* Fixed [[Joystick:isDown]] using 0-based button index arguments. | * Fixed [[Joystick:isDown]] using 0-based button index arguments. | ||
− | |||
* Fixed [[love.graphics.setCanvas]]() to restore the proper viewport and scissor rectangles. | * Fixed [[love.graphics.setCanvas]]() to restore the proper viewport and scissor rectangles. | ||
* Fixed TrueType font glyphs which request a monochrome bitmap pixel mode. | * 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 [[love.graphics.reset]] causing crashes when called in between love.graphics.push/pop. | ||
* Fixed tab characters ("\t") to display properly with [[love.graphics.print]]. | * Fixed tab characters ("\t") to display properly with [[love.graphics.print]]. | ||
+ | * Fixed [[love.graphics.isCreated]] to return false if [[love.window.setMode]] fails. | ||
+ | * Fixed [[love.window.setMode]] to only destroy OpenGL resources after checking if a fullscreen size is supported. | ||
+ | * Fixed loading BC4 [[CompressedData|compressed textures]]. | ||
+ | * Fixed [[World:getBodyList]] and [[World:getJointList]] causing hard crashes. | ||
+ | * Fixed [[Fixture:setUserData]] and [[Fixture:getUserData]] to work in coroutines. | ||
+ | * Fixed [[Source:setPitch]] to error when infinity or NaN is given. | ||
+ | * Fixed [[SoundData]] objects being initialized with garbage sample values. | ||
+ | * Fixed 8-bit [[SoundData]] samples when used with love.audio [[Source]]s. | ||
=== Other Changes === | === Other Changes === | ||
+ | * Updated t.console in [[love.conf]] to create the console before modules are loaded in Windows. | ||
+ | * Updated the default love.run code to make initial love.math.random calls more random. | ||
* Updated the error text for love.filesystem’s module searchers when require fails. | * 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 the love.filesystem module searchers to be tried after package.preload instead of before. | ||
+ | * Updated love.filesystem's C library loader to look in paths added via [[love.filesystem.mount]], in [[love.filesystem.isFused|Fused mode]]. | ||
* Updated [[love.graphics.newParticleSystem]], [[love.graphics.newSpriteBatch]], and [[love.graphics.newMesh]] to accept Canvases. | * 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]] drawing code, texture coordinates are no longer flipped vertically. | ||
* 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 [[Mesh]] [[Mesh:setVertexMap|vertex maps]] (index buffers) to use less VRAM space. | ||
+ | * Updated [[love.graphics.newMesh]] and [[Mesh:setVertices]] to default the UV parameters to 0,0. | ||
+ | * Updated fullscreen-desktop and resizable window modes in OS X to use Mac OS 10.7's fullscreen Spaces. | ||
* Updated [[Source:play]] to return a boolean indicating success. | * Updated [[Source:play]] to return a boolean indicating success. | ||
− | |||
− | |||
− | |||
− | |||
− | [[Category: | + | [[Category:Versions]] |
Latest revision as of 23:46, 4 May 2019
The codename for LÖVE 0.9.1 is Baby Inspector. It is currently released.
Changes from 0.9.0
Additions
- Added love.getVersion.
- Added love.system.openURL.
- Added "screen" BlendMode.
- Added Source:clone.
- Added ParticleSystem:clone.
- Added ParticleSystem:moveTo, has smoother emitter movement compared to ParticleSystem:setPosition.
- Added ParticleSystem:setRelativeRotation.
- Added love.graphics.setWireframe and love.graphics.isWireframe for debugging.
- Added Mesh:setDrawRange and Mesh:getDrawRange.
- 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 antialiasing support to Canvases.
- Added Canvas:getFSAA.
- Added
love_ScreenSize
built-in shader variable. - 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 love.graphics.isSupported("srgb")
- Added love.math.gammaToLinear and love.math.linearToGamma.
- Added a boolean
- Added RandomGenerator:getState and RandomGenerator:setState.
- Added love.math.setRandomState and love.math.getRandomState.
- Added CircleShape:getPoint and CircleShape:setPoint.
- Added Body:setUserData and Body:getUserData.
- Added some missing obscure KeyConstants.
- Added optional callback argument to love.filesystem.getDirectoryItems.
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 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.
- Fixed love.graphics.isCreated to return false if love.window.setMode fails.
- Fixed love.window.setMode to only destroy OpenGL resources after checking if a fullscreen size is supported.
- Fixed loading BC4 compressed textures.
- Fixed World:getBodyList and World:getJointList causing hard crashes.
- Fixed Fixture:setUserData and Fixture:getUserData to work in coroutines.
- Fixed Source:setPitch to error when infinity or NaN is given.
- Fixed SoundData objects being initialized with garbage sample values.
- Fixed 8-bit SoundData samples when used with love.audio Sources.
Other Changes
- Updated t.console in love.conf to create the console before modules are loaded in Windows.
- Updated the default love.run code to make initial love.math.random calls more random.
- 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.filesystem's C library loader to look in paths added via love.filesystem.mount, in Fused mode.
- 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 Mesh vertex maps (index buffers) to use less VRAM space.
- Updated love.graphics.newMesh and Mesh:setVertices to default the UV parameters to 0,0.
- Updated fullscreen-desktop and resizable window modes in OS X to use Mac OS 10.7's fullscreen Spaces.
- Updated Source:play to return a boolean indicating success.