Skip to content

Changelog

Michael Ebens edited this page Jul 27, 2018 · 31 revisions

2.0 (unreleased)

  • 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.2.1 (2018-06-22)
    • Added Camera:worldPosition and Camera:screenPosition to transform points between world and screen space according to the camera's properties.
    • Added love.window.updateConstants. Should be called within love.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 use Camera:worldPosition thus also rotating the point.
    • Changed love.mouse.getRotated___ functions and love.mouse.switchToRotated to point to their World 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.
  • 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 from Camera and added bindX, bindY, and bind.
    • 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 or setupLayers.
    • Removed functions and indexes relating to class counts and names from World.
    • World no longer requires entities to have active set to true in order to update. For an entity to be ignored, active must now be explicitly false.

    • Added input.wheel as part of 0.10 compatibility.
    • Added PhysicalEntity:drawShape with support for polygons and circles.
    • Restructure of tweens module.
    • Merged AttrTween with Tween, 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 internal Delay class.
    • Added Entity:delay and Camera:delay to tweens module.

1.1

  • 1.1.0 (2014-12-10)
    • Moved love.graphics.setMode to love.window.setMode (0.9.x compatibility)
    • Added table.copy back in
    • Removed love.graphics.oldSetMode

1.0

  • 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 to nil.
    • 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, and setSize).
    • Removed Entity.width, Entity.height, and the corresponding parameters from Entity:initialize.
    • Removed filter functionality from World.
    • Removed four unused functions from LinkedList (bringForward, sendBackward, bringToFront, and sendToBack).
    • Removed ammo.version.

0.2

  • 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 and LinkedList:shift not using locals.
  • 0.2.2 (2012-11-07)
    • Renamed love.graphics.pushColor and popColor to storeColor and resetColor.
    • Heavily changed how storeColor and resetColor. 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 and resetColor are called by World:draw before and after drawing each entity, respectively.
    • ammo.world is automatically set to World:new() when core/init.lua is loaded.
  • 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 to World:iterate.
    • Renamed LinkedList:getIterator to LinkedList:iterate.
    • Moved LinkedList:getAll to the property LinkedList.all.
    • Removed table.copy.
  • 0.2.0 (2012-10-18)
    • Sound now uses a dynamically growing pool of sources.
    • Added the loop, clearStopped, and clearAll methods to Sound.
    • Added Sound.count.
    • Added math.length.
    • Fixed and updated Sound's pause, resume, rewind, and stop methods.
    • Removed love.audio._sounds and love.audio._update.

0.1

  • 0.1.4 (2012-10-17)
    • Allowed Sound to be passed SoundData objects.
    • Fixed Sound not setting self._sources.
  • 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.
Clone this wiki locally