mirror of
https://github.com/liabru/matter-js.git
synced 2024-12-25 13:39:06 -05:00
3.2 KiB
3.2 KiB
Matter.js Changelog
0.7.0-alpha - 2014-04-01
Release Highlights
- added six new demos
- all demos are now mobile friendly
- added new event system
- engine, mouse and collision events
- added sprite texture rendering support
- added WebGL renderer (pixi.js)
- improved
Composite
(andWorld
)- batch adding
- type agnostic adding
- body removal
- major performance increases all round
- collision detection caching
- batched rendering
- improved pair management
- memory leaks fixed
- stability improvements
- bodies rest better due to collision caching
- bodies sleep better
- constraints are much less volatile
- fixes for a number of issues (see fixes)
Added
- added demos
- sprites
- events
- catapult
- cloth
- soft body
- bridge
- added collision caching and reuse for improved performance
- added metrics for collision reuse
- added
Events
module (Issue #8)- engine events
- mouse events
- collision events
- added composite functions, including
- batch adding (
Composite.add
/World.add
) - type agnostic adding (
Composite.add
/World.add
) - body removal (
Composite.remove
/World.remove
)
- batch adding (
- added factory functions
- constraint meshing (
Composites.mesh
) - soft body factory (
Composites.softBody
)
- constraint meshing (
- added
RenderPixi
, a pixi.js WebGL renderer- added
Gui
option to switch renderer - added
Mouse.setElement
- added
- added
render.visible
flag toBody
andConstraint
(Issue #10) - added
id
toConstraint
andComposite
- added
type
names toBody
,Constraint
,Composite
- added
Common
functionsCommon.colorToNumber
Common.log
Common.clone
- added jsdoc annotations
- added travis-ci integration
- added yuidoc build tasks
- added multiple build modes to
Gruntfile
(dev, release, edge) - added repository to
package.json
, so Browserify may be used - added
CHANGELOG.md
Changed
- renamed module
Manager
toPairs
- changed
Composite
to be tree-based - changed timestep to be smoothed over 1s for stability
- changed default
constraintIterations
to 2 for stability - changed demo to use the new composite functions
- changed right click to now remove bodies in the demos
- changed
Common.now
to use high-resolution timing - changed
MouseConstraint
to reference a single constraint rather than a list - changed
Constraint
to now use arender
property - changed
Metrics
to only track FPS by default, use theextended
flag for full metrics
Removed
- removed the default in
MouseConstraint
, you must now instantiate one manually
Fixed
- fixed a memory leak in
Grid
- fixed a memory leak in
Manager
- fixed debug text now uses
Metrics
correctly - fixed issues regarding passing custom
Render
modules (Issue #7) - fixed issue in
Common.extend
withnull
properties - fixed issue with sleeping, now ignores inactive pairs
- fixed issues with
Body.applyForce
(Issue #7)
0.5.0-alpha - 2014-02-28
- initial release