Difference between revisions of "0.8.0"
(pulling changes from https://bitbucket.org/rude/love/changeset/16ed7b0f118a) |
(pulling changes from 8e281d743ba2, added more links) |
||
Line 2: | Line 2: | ||
== Changes from [[0.7.2]] == | == Changes from [[0.7.2]] == | ||
− | ===Additions=== | + | === Additions === |
* Added release error screen. | * Added release error screen. | ||
* Added alpha to [[love.graphics.setBackgroundColor]]. | * Added alpha to [[love.graphics.setBackgroundColor]]. | ||
Line 8: | Line 8: | ||
* Added [[love.graphics.arc]]. | * Added [[love.graphics.arc]]. | ||
* Added [[Source:seek|seek]] and [[Source:tell|tell]] to Source objects. | * Added [[Source:seek|seek]] and [[Source:tell|tell]] to Source objects. | ||
− | * Added color interpolation to ParticleSystem. | + | * Added color interpolation to [[ParticleSystem]]. |
* Added automatic PO2 padding for systems not supporting the OpenGL extension. | * Added automatic PO2 padding for systems not supporting the OpenGL extension. | ||
* Added UTF-8 support for fonts. | * Added UTF-8 support for fonts. | ||
Line 16: | Line 16: | ||
* Added origin to font printing. | * Added origin to font printing. | ||
* Added [[love.graphics.getMode]]. | * Added [[love.graphics.getMode]]. | ||
− | * Added per-sprite colors on | + | * Added per-sprite colors on [[SpriteBatch]]es. |
− | * Added | + | * Added [[PixelEffect]]s. |
* Added [[love.graphics.isSupported]]. | * Added [[love.graphics.isSupported]]. | ||
* Added [[love.graphics.getCanvas]]. | * Added [[love.graphics.getCanvas]]. | ||
* Added [[love.event.quit]]. | * Added [[love.event.quit]]. | ||
* Added [[love.graphics.setStencil|stencil masks]]. | * Added [[love.graphics.setStencil|stencil masks]]. | ||
− | * Added alternative SpriteBatch provider, it should work everywhere now. | + | * Added alternative [[SpriteBatch]] provider, it should work everywhere now. |
* Added a loader for binary modules. | * Added a loader for binary modules. | ||
* Added [[Thread:getKeys|Thread:getKeys()]]. | * Added [[Thread:getKeys|Thread:getKeys()]]. | ||
Line 28: | Line 28: | ||
* Added PNG, JPEG and GIF support to [[ImageData:encode]]. | * Added PNG, JPEG and GIF support to [[ImageData:encode]]. | ||
* Added 64-bit support for Mac OS X. | * Added 64-bit support for Mac OS X. | ||
− | * Added premultiplied blending mode. | + | * Added premultiplied [[BlendMode|blending mode]]. |
* Added functions to set/get default image filter modes. | * Added functions to set/get default image filter modes. | ||
− | * Added SpriteBatch:set. | + | * Added [[SpriteBatch:set]]. |
* Added new events system, with support for custom events and long event names. | * Added new events system, with support for custom events and long event names. | ||
* Added sound attenuation by distance. | * Added sound attenuation by distance. | ||
+ | * Added [[SpriteBatch:getImage]]. | ||
+ | * Added combine [[ColorMode|color mode]]. | ||
+ | * Added automatic random seeding to love.run. | ||
− | ===Bugfixes=== | + | === Bugfixes === |
* Fixed wrapping for single words. | * Fixed wrapping for single words. | ||
* Fixed tracebacks not showing filenames. | * Fixed tracebacks not showing filenames. | ||
* Fixed love.graphics.[[love.graphics.push|push]]/[[love.graphics.pop|pop]] capable of causing overflows/underflows. | * Fixed love.graphics.[[love.graphics.push|push]]/[[love.graphics.pop|pop]] capable of causing overflows/underflows. | ||
− | * Fixed [[love.graphics.setScissor|setScissor]] on | + | * Fixed [[love.graphics.setScissor|setScissor]] on [[Canvas]]es. |
* Fixed several issues with audio, e.g. clicks and pops in mp3s. | * Fixed several issues with audio, e.g. clicks and pops in mp3s. | ||
− | * Fixed crashes when bodies were destroyed during collisions. | + | * Fixed crashes when [[Body|bodies]] were destroyed during collisions. |
− | * Fixed bound | + | * Fixed bound [[SpriteBatch]]es corrupting when drawing. |
− | * Fixed thread-safety issues with ImageData. | + | * Fixed thread-safety issues with [[ImageData]]. |
* Fixed memory leaks in audio sources. | * Fixed memory leaks in audio sources. | ||
− | * Fixed | + | * Fixed [[Thread]]'s set (previously send) accidentally changing the type. |
− | * Fixed SoundData allocating the wrong number of samples. | + | * Fixed [[SoundData]] allocating the wrong number of samples. |
− | * Fixed SpriteBatch support on Intel cards. | + | * Fixed [[SpriteBatch]] support on Intel cards. |
* Fixed [[love.filesystem.lines|love.filesystem.lines()]] leaking. | * Fixed [[love.filesystem.lines|love.filesystem.lines()]] leaking. | ||
− | + | * Fixed most leaking on unclosed [[File]] objects. | |
− | * Fixed most leaking on unclosed File objects. | ||
* Fixed crashes when operating on non-existent files. | * Fixed crashes when operating on non-existent files. | ||
* Fixed a bug where empty files on windows would never reach eof. | * Fixed a bug where empty files on windows would never reach eof. | ||
* Fixed crash when [[SoundData]] runs out of memory. | * Fixed crash when [[SoundData]] runs out of memory. | ||
− | * Fixed ordering of loaders, love should have priority over | + | * Fixed ordering of loaders, love should have priority over lua. |
* Fixed several miscellaneous memory leaks. | * Fixed several miscellaneous memory leaks. | ||
− | |||
* Fixed a few cases where strings with \0 in them would not be stored correctly. | * Fixed a few cases where strings with \0 in them would not be stored correctly. | ||
− | * Fixed | + | * Fixed LÖVE's startup time being in the first dt. |
* Fixed internal string conversions, they are faster now. | * Fixed internal string conversions, they are faster now. | ||
* Fixed (bad) performance of [[ImageData:paste]]. | * Fixed (bad) performance of [[ImageData:paste]]. | ||
− | ===Other Changes=== | + | === Other Changes === |
− | * Renamed SpriteBatch's lock/unlock to [[SpriteBatch:bind|bind]]/[[SpriteBatch:unbind|unbind]]. | + | * Renamed [[SpriteBatch]]'s lock/unlock to [[SpriteBatch:bind|bind]]/[[SpriteBatch:unbind|unbind]]. |
− | * Renamed Framebuffer to Canvas. | + | * Renamed [[Framebuffer]] to [[Canvas]]. |
* Renamed love.thread.send/receive to set/get. | * Renamed love.thread.send/receive to set/get. | ||
− | * Renamed love.graphics.setRenderTarget to setCanvas. | + | * Renamed [[love.graphics.setRenderTarget]] to [[love.graphics.setCanvas|setCanvas]]. |
* Updated [[love.joystick]] to be 1-indexed. | * Updated [[love.joystick]] to be 1-indexed. | ||
* Updated font engine. | * Updated font engine. | ||
Line 76: | Line 77: | ||
* Updated Box2D to version 2.2.1. | * Updated Box2D to version 2.2.1. | ||
− | + | === Removals === | |
− | ===Removals=== | + | * Removed [[Canvas]] auto-clearing. |
− | * Removed Canvas auto-clearing. | + | * Removed [[EncodedImageData]]. |
− | * Removed EncodedImageData. | + | * Removed old syntax for require (with extension and slashes). |
− | * Removed old syntax for require (with extension). | + | * Removed [[love.graphics.setFont|love.graphics.setFont([file, ][size])]]. |
− | * Removed [[love.graphics.setFont | ||
* Removed [[Thread:kill]]. | * Removed [[Thread:kill]]. | ||
[[File:0.8.0_no-game.png|thumb|no-game screen]] | [[File:0.8.0_no-game.png|thumb|no-game screen]] |
Revision as of 22:50, 5 February 2012
The codename for LÖVE 0.8.0 is Rubber Piggy. It is not yet released.
Changes from 0.7.2
Additions
- Added release error screen.
- Added alpha to love.graphics.setBackgroundColor.
- Added Canvas:clear(r, g, b, a).
- Added love.graphics.arc.
- Added seek and tell to Source objects.
- Added color interpolation to ParticleSystem.
- Added automatic PO2 padding for systems not supporting the OpenGL extension.
- Added UTF-8 support for fonts.
- Added Box2D error handling for some commonly failing functions.
- Added ability for fused release games to have their write dir in appdata.
- Added shear transformation to drawing functions.
- Added origin to font printing.
- Added love.graphics.getMode.
- Added per-sprite colors on SpriteBatches.
- Added PixelEffects.
- Added love.graphics.isSupported.
- Added love.graphics.getCanvas.
- Added love.event.quit.
- Added stencil masks.
- Added alternative SpriteBatch provider, it should work everywhere now.
- Added a loader for binary modules.
- Added Thread:getKeys().
- Added option of fractions for quads.
- Added PNG, JPEG and GIF support to ImageData:encode.
- Added 64-bit support for Mac OS X.
- Added premultiplied blending mode.
- Added functions to set/get default image filter modes.
- Added SpriteBatch:set.
- Added new events system, with support for custom events and long event names.
- Added sound attenuation by distance.
- Added SpriteBatch:getImage.
- Added combine color mode.
- Added automatic random seeding to love.run.
Bugfixes
- Fixed wrapping for single words.
- Fixed tracebacks not showing filenames.
- Fixed love.graphics.push/pop capable of causing overflows/underflows.
- Fixed setScissor on Canvases.
- Fixed several issues with audio, e.g. clicks and pops in mp3s.
- Fixed crashes when bodies were destroyed during collisions.
- Fixed bound SpriteBatches corrupting when drawing.
- Fixed thread-safety issues with ImageData.
- Fixed memory leaks in audio sources.
- Fixed Thread's set (previously send) accidentally changing the type.
- Fixed SoundData allocating the wrong number of samples.
- Fixed SpriteBatch support on Intel cards.
- Fixed love.filesystem.lines() leaking.
- Fixed most leaking on unclosed File objects.
- Fixed crashes when operating on non-existent files.
- Fixed a bug where empty files on windows would never reach eof.
- Fixed crash when SoundData runs out of memory.
- Fixed ordering of loaders, love should have priority over lua.
- Fixed several miscellaneous memory leaks.
- Fixed a few cases where strings with \0 in them would not be stored correctly.
- Fixed LÖVE's startup time being in the first dt.
- Fixed internal string conversions, they are faster now.
- Fixed (bad) performance of ImageData:paste.
Other Changes
- Renamed SpriteBatch's lock/unlock to bind/unbind.
- Renamed Framebuffer to Canvas.
- Renamed love.thread.send/receive to set/get.
- Renamed love.graphics.setRenderTarget to setCanvas.
- Updated love.joystick to be 1-indexed.
- Updated font engine.
- Updated line drawing to a custom system.
- Updated love.timer.sleep to use seconds, like the rest of love.
- Updated love.graphics.circle to have max(10, r) as default for segments.
- Updated ImageData:encode to write to files directly.
- Updated version compatibility system to actually do something.
- Updated love.run's order, events are checked just before update.
- Updated Box2D to version 2.2.1.
Removals
- Removed Canvas auto-clearing.
- Removed EncodedImageData.
- Removed old syntax for require (with extension and slashes).
- Removed love.graphics.setFont([file, ][size]).
- Removed Thread:kill.