Releases: mebens/ammo
Releases · mebens/ammo
1.2.1
LÖVE 0.11, Middleclass 4.1.1, and camera/mouse changes.
Full changelog:
- 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.
1.2.0
LÖVE 0.10, Middleclass 4, most modules/extensions now bundled, camera and tween reworks, and a few other changes.
Full changelog:
- 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
1.0.2
1.0.1
1.0.0
- 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
.