Difference between revisions of "0.9.0"
m |
(Updated changelog) |
||
Line 8: | Line 8: | ||
* Added the ability to have exit values. | * Added the ability to have exit values. | ||
* Added exit value of 1 in case of error by default. | * Added exit value of 1 in case of error by default. | ||
− | |||
* Added basic support for the file:// uri scheme. | * Added basic support for the file:// uri scheme. | ||
− | |||
* Added [[love.filesystem.getIdentity]]. | * Added [[love.filesystem.getIdentity]]. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
* Added [[love.filesystem.append]]. | * Added [[love.filesystem.append]]. | ||
* Added [[love.filesystem.getSize]]. | * Added [[love.filesystem.getSize]]. | ||
+ | * Added support for UTF-8 [[ImageFont]]s. | ||
+ | * Added [[Font:getAscent]], [[Font:getDescent]], and [[Font:getBaseline]]. | ||
+ | * Added [[Font:setFilter]] and [[Font:getFilter]]. | ||
* Added angle, scale, and shear parameters to [[love.graphics.printf]]. | * Added angle, scale, and shear parameters to [[love.graphics.printf]]. | ||
− | * Added | + | * Added HDR canvas support. |
− | * Added [[love.graphics. | + | * Added mipmapping support to [[Image]]s (has [[love.graphics.isSupported]] test). |
− | * Added [[ | + | * Added vertex [[shader]] support. |
+ | * Added boolean support to [[Shader:send]]. | ||
+ | * Added [[Canvas:getPixel]]. | ||
+ | * Added [[BlendMode]] "replace". | ||
+ | * Added [[Geometry]] objects (replaces [[Quads]]), allowing for arbitrary textured polygons. | ||
+ | * Added [[love.graphics.setCanvases]] (multiple render targets.) | ||
* Added [[love.graphics.setColorMask]]. | * Added [[love.graphics.setColorMask]]. | ||
− | |||
− | |||
− | |||
* Added [[love.graphics.setAlphaTest]]. | * Added [[love.graphics.setAlphaTest]]. | ||
* Added [[love.graphics.origin]]. | * Added [[love.graphics.origin]]. | ||
+ | * Added [[love.graphics.getRendererInfo]]. | ||
+ | * Added [[SpriteBatch:getCount]] and [[SpriteBatch:getBufferSize]]. | ||
+ | * Added [[ParticleSystem:emit]]. | ||
* Added many [[ParticleSystem]] getter methods. | * Added many [[ParticleSystem]] getter methods. | ||
− | * Added [[ | + | * Added DXT compressed texture support to [[Images]] via [[love.image.newCompressedData]]. |
− | * | + | * Added [[love.image.isCompressed]] and [[Image:isCompressed]]. |
+ | * Added [[Image:getDimensions]], [[Canvas:getDimensions]], and [[ImageData:getDimensions]]. | ||
+ | * Added anisotropic filtering support for [[Image]]s, [[Canvas]]es, and [[Font]]s. | ||
+ | * Added [[Image:refresh]]. | ||
+ | * Added [[SoundData:getDuration]] and [[SoundData:getSampleCount]]. | ||
+ | * Added [[Source:isPlaying]]. | ||
+ | * Added new [[Channel]]s api for [[love.thread]]. | ||
+ | * Added [[Thread:getError]]. | ||
+ | * Added [[love.math]] module. | ||
+ | * Added a platform-independent (good) random implementation to [[love.math]]. | ||
+ | * Added [[RandomGenerator]] objects and [[love.math.newRandomGenerator]]. | ||
+ | * Added [[BezierCurve]] objects and [[love.math.newBezierCurve]]. | ||
+ | * Added [[love.math.triangulate]] and [[love.math.isConvex]]. | ||
+ | * Added [[love.math.noise]]. | ||
+ | * Added [[love.timer.getAverageDelta]]. | ||
+ | * Added [[Data:getString]]. | ||
+ | * Added [[Contact:getChildren]]. | ||
+ | * Added [[love.window]] module. | ||
+ | * Added [[love.window.isVisible]]. | ||
+ | * Added flags to [[love.window.setMode]]. | ||
+ | * Added support for resizable, borderless, and non-centered windows. | ||
+ | * Added resize event. | ||
+ | * Added [[love.window.getDimensions]]. | ||
+ | * Added [[love.mousefocus]] and [[love.window.hasMouseFocus]]. | ||
+ | * Added [[love.mouse.setX]] and [[love.mouse.setY]]. | ||
+ | * Added [[love.joystickaxis]], [[love.joystickball]], and [[love.joystickhat]] event callbacks. | ||
+ | * Added [[love.joystick.reload]]. | ||
+ | * OPTIONAL: Added support for Game Music Emu. | ||
− | === | + | === Removals === |
+ | * Removed [[love.graphics.drawTest]]. | ||
+ | * Removed [[love.graphics.quad]] and [[love.graphics.triangle]]. | ||
+ | * Removed [[ColorMode]]s and [[love.graphics.setColorMode]]. | ||
+ | * Removed [[love.graphics.newStencil]]. | ||
+ | * Removed [[Quad]] objects (replaced by [[Geometry]]). | ||
+ | * Removed [[ParticleSystem:isFull]] and [[ParticleSystem:isEmpty]]. | ||
+ | * Removed [[love.joystick.open]] and friends. | ||
+ | * Removed thread names. | ||
+ | * Removed old thread messaging api (see [[Channel]]s). | ||
+ | * Removed [[love.timer.getMicroTime]]. | ||
+ | |||
+ | === Fixes === | ||
+ | * Fixed fused release mode in OS X. | ||
+ | * Fixed printing to the console in Windows before [[love.load]] is called. | ||
+ | * Fixed [[love.mouse.setPosition]] when called in [[love.load]]. | ||
+ | * Fixed scaling in several [[love.physics]] functions. | ||
+ | * Fixed Box2D exception in [[World:update]]. | ||
+ | * Fixed [[File:read]] reading past end of file. | ||
+ | * Fixed possible memory leak in utf-8 decoder. | ||
+ | * Fixed spacing for the last character in an [[ImageFont]]. | ||
+ | * Fixed line wrapping in [[love.graphics.printf]]. | ||
* Fixed crashes with font drawing on some ATI cards. | * Fixed crashes with font drawing on some ATI cards. | ||
− | |||
* Fixed artifacts when drawing lines at huge scale. | * Fixed artifacts when drawing lines at huge scale. | ||
− | * Fixed [[Font | + | * Fixed [[Font]]s and [[Canvas]]es ignoring default image filter. |
− | * Fixed getMode and friends returning wrong values when using desktop size. | + | * Fixed [[love.graphics.getLineWidth]] returning incorrect values. |
+ | * Fixed [[love.graphics.getColor]] on some Windows systems. | ||
+ | * Fixed alpha [[BlendMode]]. | ||
+ | * Fixed multiplicative [[BlendMode]]. | ||
+ | * Fixed [[love.graphics.getPointStyle]]. | ||
+ | * Fixed line numbers in [[Shader]] errors. | ||
+ | * Fixed [[Shader:send]] with Images and Canvases failing sometimes. | ||
+ | * Fixed crash when binding [[SpriteBatch]]es multiple times. | ||
+ | * Fixed [[SpriteBatch]]es with more than 16,383 sprites. | ||
+ | * Fixed [[love.window.getMode]] and friends returning wrong values when using desktop size. | ||
+ | * Fixed keyrepeat settings being lost after (indirect) [[love.window.setMode]]. | ||
* Fixed memory leak in the mp3 decoder. | * Fixed memory leak in the mp3 decoder. | ||
* Fixed sound issues with some versions of OpenAL soft, by enabling direct channels. | * Fixed sound issues with some versions of OpenAL soft, by enabling direct channels. | ||
* Fixed 'random' hangs in audio. | * Fixed 'random' hangs in audio. | ||
− | + | * Fixed [[love.sound.newDecoder]] not accepting [[FileData]]. | |
− | + | * Fixed looping support in tracker music formats. | |
− | * Fixed [[love.sound.newDecoder]] not accepting | ||
− | |||
− | |||
− | * Fixed | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
=== Other Changes === | === Other Changes === | ||
− | + | * Renamed love's boot script to 'love.boot', which can be required. | |
− | |||
− | * Renamed love's boot script to ' | ||
* Renamed [[PixelEffect]] to [[Shader]] (but now with vertex shaders). | * Renamed [[PixelEffect]] to [[Shader]] (but now with vertex shaders). | ||
* Renamed [[love.graphics.setDefaultImageFilter]] to [[love.graphics.setDefaultFilter]]. | * Renamed [[love.graphics.setDefaultImageFilter]] to [[love.graphics.setDefaultFilter]]. | ||
* Renamed [[ParticleSystem:setSprite]] to [[ParticleSystem:setImage]]. | * Renamed [[ParticleSystem:setSprite]] to [[ParticleSystem:setImage]]. | ||
* Renamed [[ParticleSystem:setGravity]] to [[ParticleSystem:setLinearAcceleration]]. | * Renamed [[ParticleSystem:setGravity]] to [[ParticleSystem:setLinearAcceleration]]. | ||
+ | * Renamed [[ParticleSystem:setLifetime]] and [[ParticleSystem:setParticleLife]] to [[ParticleSystem:setEmitterLifetime]] and [[ParticleSystem:setParticleLifetime]]. | ||
+ | * Renamed [[ParticleSystem:count]] and all getNum* functions to get*Count. | ||
+ | * Renamed [[love.graphics.drawq]] to [[love.graphics.drawg]]. | ||
+ | * Renamed [[SpriteBatch:addq]] and [[SpriteBatch:setq]] to [[SpriteBatch:addg]] and [[SpriteBatch:setg]]. | ||
+ | |||
+ | * Moved love's startup to modules/love. | ||
+ | * Moved window-related functions from [[love.graphics]] to [[love.window]]. | ||
− | |||
− | |||
* 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 | + | * 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 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 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. | ||
− | |||
* Updated [[SpriteBatch]] code, now more performant when (un)binding. | * Updated [[SpriteBatch]] code, now more performant when (un)binding. | ||
* Updated [[Image]] creation code to error when creation fails. | * Updated [[Image]] creation code to error when creation fails. | ||
* Updated [[Canvas]] code to support more systems. | * Updated [[Canvas]] code to support more systems. | ||
+ | * Updated [[love.graphics.newScreenshot]] to create a fully opaque image by default. | ||
+ | * Updated error messages when sending bad values to [[Shader]]s. | ||
+ | * Updated [[love.graphics.newParticleSystem]] to have a default buffer size of 1000. | ||
+ | * Updated [[love.image.newImageData]] and [[love.graphics.newImage]] to accept [[FileData]]. | ||
+ | * Updated [[ImageData:setPixel]] to accept a table and default to 255 alpha. | ||
+ | * Updated [[love.image]] memory handling, improves errors and thread-safety. | ||
+ | * Updated [[love.audio.newSource]], [[love.sound.newDecoder]], and [[love.sound.newSoundData]] to accept [[FileData]]. | ||
+ | * Updated allocation for [[SoundData]], it's more efficient and less wasteful. | ||
+ | * Updated Source:set* functions to default z to 0. | ||
* Updated [[love.timer.getFPS]] to be microsecond-accurate. | * Updated [[love.timer.getFPS]] to be microsecond-accurate. | ||
− | * Updated [[love. | + | * Updated [[love.timer.getTime]] to be microsecond-accurate and monotonic. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
[[File:0.9.0_no-game.png|thumb|no-game screen]] | [[File:0.9.0_no-game.png|thumb|no-game screen]] |
Revision as of 02:33, 6 June 2013
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 --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.filesystem.getIdentity.
- Added love.filesystem.append.
- Added love.filesystem.getSize.
- Added support for UTF-8 ImageFonts.
- Added Font:getAscent, Font:getDescent, and Font:getBaseline.
- Added Font:setFilter and Font:getFilter.
- Added angle, scale, and shear parameters to love.graphics.printf.
- Added HDR canvas support.
- Added mipmapping support to Images (has love.graphics.isSupported test).
- Added vertex shader support.
- Added boolean support to Shader:send.
- Added Canvas:getPixel.
- Added BlendMode "replace".
- Added Geometry objects (replaces Quads), allowing for arbitrary textured polygons.
- Added love.graphics.setCanvases (multiple render targets.)
- Added love.graphics.setColorMask.
- Added love.graphics.setAlphaTest.
- Added love.graphics.origin.
- Added love.graphics.getRendererInfo.
- Added SpriteBatch:getCount and SpriteBatch:getBufferSize.
- Added ParticleSystem:emit.
- Added many ParticleSystem getter methods.
- Added DXT compressed texture support to Images via love.image.newCompressedData.
- Added love.image.isCompressed and File:isCompressed.
- Added File:getDimensions, Canvas:getDimensions, and ImageData:getDimensions.
- Added anisotropic filtering support for Images, Canvases, and Fonts.
- Added File:refresh.
- Added SoundData:getDuration and SoundData:getSampleCount.
- Added Source:isPlaying.
- Added new Channels api for love.thread.
- Added Thread:getError.
- Added love.math module.
- Added a platform-independent (good) random implementation to love.math.
- Added RandomGenerator objects and love.math.newRandomGenerator.
- Added BezierCurve objects and love.math.newBezierCurve.
- Added love.math.triangulate and love.math.isConvex.
- Added love.math.noise.
- Added love.timer.getAverageDelta.
- Added Data:getString.
- Added Contact:getChildren.
- Added love.window module.
- Added love.window.isVisible.
- Added flags to love.window.setMode.
- Added support for resizable, borderless, and non-centered windows.
- Added resize event.
- Added love.window.getDimensions.
- Added love.mousefocus and love.window.hasMouseFocus.
- Added love.mouse.setX and love.mouse.setY.
- Added love.joystickaxis, love.joystickball, and love.joystickhat event callbacks.
- Added love.joystick.reload.
- OPTIONAL: Added support for Game Music Emu.
Removals
- Removed love.graphics.drawTest.
- Removed love.graphics.quad and love.graphics.triangle.
- Removed ColorModes and love.graphics.setColorMode.
- Removed love.graphics.newStencil.
- Removed Quad objects (replaced by Geometry).
- Removed ParticleSystem:isFull and ParticleSystem:isEmpty.
- Removed love.joystick.open and friends.
- Removed thread names.
- Removed old thread messaging api (see Channels).
- Removed love.timer.getMicroTime.
Fixes
- Fixed fused release mode in OS X.
- Fixed printing to the console in Windows before love.load is called.
- Fixed love.mouse.setPosition when called in love.load.
- Fixed scaling in several love.physics functions.
- Fixed Box2D exception in World:update.
- Fixed File:read reading past end of file.
- Fixed possible memory leak in utf-8 decoder.
- Fixed spacing for the last character in an ImageFont.
- Fixed line wrapping in love.graphics.printf.
- Fixed crashes with font drawing on some ATI cards.
- Fixed artifacts when drawing lines at huge scale.
- Fixed Fonts and Canvases ignoring default image filter.
- Fixed love.graphics.getLineWidth returning incorrect values.
- Fixed love.graphics.getColor on some Windows systems.
- Fixed alpha BlendMode.
- Fixed multiplicative BlendMode.
- Fixed love.graphics.getPointStyle.
- Fixed line numbers in Shader errors.
- Fixed Shader:send with Images and Canvases failing sometimes.
- Fixed crash when binding SpriteBatches multiple times.
- Fixed SpriteBatches with more than 16,383 sprites.
- Fixed love.window.getMode and friends returning wrong values when using desktop size.
- Fixed keyrepeat settings being lost after (indirect) love.window.setMode.
- 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 love.sound.newDecoder not accepting FileData.
- Fixed looping support in tracker music formats.
Other Changes
- Renamed love's boot script to 'love.boot', which can be required.
- Renamed PixelEffect to Shader (but now with vertex shaders).
- Renamed love.graphics.setDefaultImageFilter to love.graphics.setDefaultFilter.
- Renamed ParticleSystem:setSprite to ParticleSystem:setImage.
- Renamed ParticleSystem:setGravity to ParticleSystem:setLinearAcceleration.
- Renamed ParticleSystem:setLifetime and ParticleSystem:setParticleLife to ParticleSystem:setEmitterLifetime and ParticleSystem:setParticleLifetime.
- Renamed ParticleSystem:count and all getNum* functions to get*Count.
- Renamed love.graphics.drawq to love.graphics.drawg.
- Renamed SpriteBatch:addq and SpriteBatch:setq to SpriteBatch:addg and SpriteBatch:setg.
- Moved love's startup to modules/love.
- Moved window-related functions from love.graphics to love.window.
- 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 the setFilter and setWrap methods, the second argument is now optional.
- Updated Font and ParticleSystem rendering code, now more performant.
- Updated SpriteBatch code, now more performant when (un)binding.
- Updated Image creation code to error when creation fails.
- Updated Canvas code to support more systems.
- Updated love.graphics.newScreenshot to create a fully opaque image by default.
- Updated error messages when sending bad values to Shaders.
- Updated love.graphics.newParticleSystem to have a default buffer size of 1000.
- Updated love.image.newImageData and love.graphics.newImage to accept FileData.
- Updated ImageData:setPixel to accept a table and default to 255 alpha.
- Updated love.image memory handling, improves errors and thread-safety.
- Updated love.audio.newSource, love.sound.newDecoder, and love.sound.newSoundData to accept FileData.
- Updated allocation for SoundData, it's more efficient and less wasteful.
- Updated Source:set* functions to default z to 0.
- Updated love.timer.getFPS to be microsecond-accurate.
- Updated love.timer.getTime to be microsecond-accurate and monotonic.