-
Notifications
You must be signed in to change notification settings - Fork 2
Changelog
Michael Ebens edited this page Jul 27, 2018
·
31 revisions
- 2.0.0 (TBD)
- Added an updated and improved debug module.
- New audio module
- Added new Sound class as part of Audio module.
- Added SoundPool class as descendant of Sound.
- assets.loadSfx rewritten to work with Sound, SoundPool, or Source if necessary.
- assets.loadMusic rewritten to work with Sound or Source.
- assets.loadShader rewritten to accept both pixel and vertex shader files.
- assets.getPath now camelcases file names.
- assets.removeExtension removed.
- assets module correctly defines ammo.ext.assets.
- input and assets modules moved out of their folders, as they're only single files.
- input and assets modules return the module rather than defining global. These are globalised by modules.lua.
- input module no longer defines key, mouse, and wheel globals.
-
- Added table.acopy, math.cross, and math.rotate to extensions.lua.
- Renamed math.distance to math.dist.
- Renamed math.length to math.len.
- Moved window constant functionality to core/window.lua out of extensions.lua.
- Moved extensions.lua out of core folder. Thus, extensions.lua no longer required by core/init.lua; required now by main init.lua.
- Camera binding functions and tweens/ease.lua modified to no longer require extensions.lua.
-
- Added length operator to LinkedList.
- Added LinkedList:safeIterate for delete-safe iteration.
- World update its lists at the beginning of frame rather than end.
- Fixed World assignment
_additionQueued
to itself rather than the entity to be added. - Fixed Camera.world not being correctly set.
- Removed left over code from Entity naming.
- Removed Vector class. Replaced it uses with separate x/y parameters.
- 1.2.1 (2018-06-22)
- Added
Camera:worldPosition
andCamera:screenPosition
to transform points between world and screen space according to the camera's properties. - Added
love.window.updateConstants
. Should be called withinlove.resize
to update the width/height constants. - Added a wrapping of
love.window.updateMode
(LÖVE 0.11), which updates the width/height constants. - Changed
love.mouse.getWorld___
functions to useCamera:worldPosition
thus also rotating the point. - Changed
love.mouse.getRotated___
functions andlove.mouse.switchToRotated
to point to theirWorld
counterparts for the sake of backwards compatibility. - Updated to Middleclass 4.1.1.
- Fixed
World
not using RGBA values when resetting colour after drawing an entity.
- Added
- 1.2.0 (2016-01-26)
- Assets, physics, input, and tweens extensions are now bundled with the main repo in subfolders.
- LÖVE 0.10.0 compatibility.
- Updated to Middleclass 4.0.
-
-
Camera
now uses centre-based coordinates. - Removed
processCoordinate
fromCamera
and addedbindX
,bindY
, andbind
. - Coordinate binding in
Camera
is no longer automatic. -
Camera
bounds are now kept in a simpler{ x1, y1, x2, y2 }
table. - Updated/fixed world and rotated mouse position functions using centre-based coordinates.
-
- Added option to disable use of camera when adding layers via
addLayer
orsetupLayers
. - Removed functions and indexes relating to class counts and names from
World
. -
World
no longer requires entities to haveactive
set totrue
in order to update. For an entity to be ignored,active
must now be explicitlyfalse
. -
- Added
input.wheel
as part of 0.10 compatibility. - Added
PhysicalEntity:drawShape
with support for polygons and circles. - Restructure of
tweens
module. - Merged
AttrTween
withTween
, removing the former. - Removed all of the specific "getter/setter" attributes from
Tween
and made existing ones public. - Removed
Tween:reset
. - Changed
delay
functions to use internalDelay
class. - Added
Entity:delay
andCamera:delay
totweens
module.
- 1.1.0 (2014-12-10)
- Moved
love.graphics.setMode
tolove.window.setMode
(0.9.x compatibility) - Added
table.copy
back in - Removed
love.graphics.oldSetMode
- Moved
- 1.0.2 (2013-08-30)
- Removed functions as values from World:setupLayer, as it wasn't working properly.
- oldSetMode is now stored in love.graphics.oldSetMode.
- 1.0.1 (2012-12-30)
-
ammo.update
no longer sets_G.dt
.
-
- 1.0.0 (2012-12-13)
- Added
ammo.default
.ammo.world
reverts to this when it is set tonil
. - Added new syntax for callbacks in
World:setupLayers
; allows functions to elements in the table argument. - Added error checking to
love.graphics.setMode
. - Fixed
LinkedList:clear
. - Removed position/size functions from
Entity
(move
,getPosition
,setPosition
,getSize
, andsetSize
). - Removed
Entity.width
,Entity.height
, and the corresponding parameters fromEntity:initialize
. - Removed filter functionality from
World
. - Removed four unused functions from
LinkedList
(bringForward
,sendBackward
,bringToFront
, andsendToBack
). - Removed
ammo.version
.
- Added
- 0.2.3 (2012-11-16)
-
LinkedList
's addition and removal functions no longer accept multiple arguments. - Fixed
LinkedList:insert
not modifying the inserted element. - Fixed
LinkedList:pop
andLinkedList:shift
not using locals.
-
- 0.2.2 (2012-11-07)
- Renamed
love.graphics.pushColor
andpopColor
tostoreColor
andresetColor
. - Heavily changed how
storeColor
andresetColor
.storeColor
no longer maintains a stack, but one colour. It no longer sets a colour.resetColor
sets the colour back to what was stored. -
storeColor
andresetColor
are called byWorld:draw
before and after drawing each entity, respectively. -
ammo.world
is automatically set toWorld:new()
whencore/init.lua
is loaded.
- Renamed
- 0.2.1 (2012-10-25)
- Added
math.dot
. - Any entities added or removed before the world is set are now processed before
World:start
is called. - Renamed
World:getIterator
toWorld:iterate
. - Renamed
LinkedList:getIterator
toLinkedList:iterate
. - Moved
LinkedList:getAll
to the propertyLinkedList.all.
- Removed
table.copy
.
- Added
- 0.2.0 (2012-10-18)
-
Sound
now uses a dynamically growing pool of sources. - Added the
loop
,clearStopped
, andclearAll
methods toSound
. - Added
Sound.count
. - Added
math.length
. - Fixed and updated
Sound
'spause
,resume
,rewind
, andstop
methods. - Removed
love.audio._sounds
andlove.audio._update
.
-
- 0.1.4 (2012-10-17)
- Allowed
Sound
to be passedSoundData
objects. - Fixed
Sound
not settingself._sources
.
- Allowed
- 0.1.3 (2012-10-10)
- Added pre and post callbacks for layers.
- Updated World's addLayer and setupLayers to take tables.
- Fixed LinkedList's pop and shift functions.
- 0.1.2 (2012-10-08)
- Fixed and updated Vector operators.
- Changed ammo.version to a string.
- 0.1.1 (2012-10-06)
- Fixed World.visible not working.
- 0.1.0 (2012-10-03)
- Initial release.