Matter.js v0.9.0 Release Notes
Release Date: 2016-01-16 // over 8 years ago-
๐ release summary
- ๐ improved documentation
- ๐ improved performance
- ๐ improved stability
- ๐ improved accuracy
- ๐ improved friction
- ๐ improved sleeping
- ๐ improved constraints
๐ improved examples
โ added concave body support
โ added compound body support
โ added collision filters
โ added Matter.Body property setters
โ added Matter.Sleeping events
โ added Matter.Composite events
โ added Matter.Composite transforms
โ added Matter.MouseConstraint events
โ added Matter.Render events
โ added Matter.Runner
โ added support for nodejs
โ added support for high dpi rendering
โ added multiple examples
โ added automated tests
migrated from grunt to gulp
๐ป migrated to browserify
migrated to pixi.js v3
๐ fixed multiple issues (see commit log)
๐ฒ commit log
- โ Add Pixi DisplayObjectContainer to allow view bounds in webGL (97f0f8d)
- โ added beforeRender and afterRender events to Matter.Render (aa48322)
- โ added body sleepStart and sleepEnd events, closes #91 (bc26469), closes #91
- โ added Body.nextCategory (d249165)
- โ added Body.set (235b6c8)
- โ added Body.setMass, Body.setDensity, Body.setInertia (ca978fa)
- โ added Body.setPosition, Body.setAngle, Body.setVelocity, Body.setAngularVelocity (7ed28f7)
- โ added Body.setVertices and Vector.clone (b6dbb25)
- โ added building and contributing to readme (9a59e34)
- โ added collisionFilter support to MouseConstraint (cee8d55)
- โ added composite events (2841522)
- โ added composite events example to Demo.events (296d47e)
- โ added Composite.translate, Composite.rotate, Composite.scale (4c4962f)
- โ added compound support to Query.ray (10e5d0f)
- โ added constraint to Demo.compound (87fbf51)
- โ added CONTRIBUTING.md (7c936d5)
- โ added CONTRIBUTING.md (261c794)
- โ added Demo.compositeManipulation (4051823)
- โ added Demo.compound (b7bf5d6)
- โ added Demo.concave, added Bodies.fromVertices, added Vertices.isConvex, fixed compound properties (0b8efa5)
- โ added Demo.manipulation (0a453a2)
- โ added Demo.setManualControl (203252a)
- โ added Demo.slingshot (3043baa)
- โ added Demo.staticFriction (4491dfd)
- โ added Demo.svg, Demo.compoundStack, Demo.concave (17589bc)
- โ added Demo.terrain (3132d70)
- โ added docs (200fcbe)
- โ added docs for engine.timing.isFixed (e22ceeb)
- โ added drag events to MouseConstraint, closes #45 (c254c8d), closes #45
- โ added early out in Constraint.postSolveAll, pass body.velocity when updating bounds (8210dbe)
- โ added internal edge flagging to Bodies.fromVertices (ca75fde)
- โ added Matter.Svg.pathToPoints (7822ead)
- โ added Matter.version (e0a6de0)
- โ added Matter.World extends Matter.Composite to docs (b3921fb)
- โ added minimum area check to Bodies.fromVertices (bf11ee5)
- โ added missing dependency to Render.js (df5f16c)
- โ added mouse constraint collision mask example to demo (440e9d2)
- โ added Mouse.create warning for omitted element (af83e27)
- โ added MouseConstraint.create warning for omitted element (b6603ca)
- โ added node demo tests (71c1ae8)
- โ added options to Metrics.create (1b7e27d)
- โ added Query.point (98ea7c7)
- โ added release tasks (5479fbc)
- โ added Render.create warning for omitted element (0583cdb)
- โ added render.options.showMousePosition (e191d44)
- โ added Render.showInternalEdges, added rendering bounds + axes + positions for compounds, fixed rende (5ab2bf3)
- โ added Render.vertexNumbers, Render.bodyConvexHulls (9c139ed)
- โ added Runner.create and Runner.tick (5c69f2e)
- โ added source link to demo (1e756d3)
- โ added sprite offsets relative to centre of mass, closes #153 (3de9d00), closes #153
- โ added startdrag and enddrag events to Demo.events (7c75614)
- โ added support for compound bodies in MouseConstraint (d6829bf)
- โ added support for hidpi rendering (4746eb9)
- โ added support for multiple vertices input in Bodies.fromVertices (e8205f8)
- โ added support for sprite scale in RenderPixi, closes #54 (8dea166), closes #54
- โ added testDemo to grunt test (08c5648)
- โ added time scaling to Sleeping (0ae2d02)
- โ added Vector.create (b327a40)
- ๐ Allow for negative force to bring a body out of sleeping state. (d585e80)
- appease jshint (89140ae)
- appease jshint (18a2627)
- ๐ change browser tests to use JSON.stringify (75af920)
- ๐ change gravity scale to variable rather than a constant (a38b227)
- ๐ change main to edge build (9d0e82b)
- ๐ change travis to only lint rather than full test (until tests are finished and documented) (ce478cb)
- ๐ change world.bounds to Infinity, remove world bounds check from Engine, closes #67 (8b5192d), closes #67
- ๐ changed Body._initProperties to use Body.setVertices (2d04389)
- ๐ changed bower main to build/matter.js (7412335)
- ๐ changed certain Matter.Composite methods to private in docs (8aa148d)
- ๐ changed Common.log to use console.warn (c220f41)
- ๐ changed default minimum area in Bodies.fromVertices (998ab33)
- ๐ changed demo to use Matter.Runner and Matter.Render events (a1d4748)
- ๐ changed friction impulse limiting approach (de4784c)
- ๐ changed Grid.create to accept an options object (eedd1f2)
- ๐ changed jquery reference (matter-tools) to local copy (0849773)
- ๐ changed Math.random to Common.random and use a seeded RNG (0a46cb2)
- ๐ changed Mouse.create to return as a plain object (eaa9767)
- ๐ changed Render.bodyIds to show all parts (3ed8034)
- ๐ changed Sleeping constants to be public (module level) (7eadea9)
- ๐ changed vertex number render fillstyle (bc88406)
- ๐ changed Vertices.create and Vertices.fromPath to create and return a new array rather than apply in- (e3e462e)
- cleanup (5888ffc)
- cleanup Svg.pathToPoints (8bf3278)
- cleanup Svg.pathToVertices (7db3d28)
- demo tweaks (d55c700)
- demo tweaks (22445c7)
- disabled angle indicators on some demos (74bc8ae)
- don't calculate gravity force if there is no actual gravity (e54802c)
- dont draw offscreen constraints. Set visible flag on offscreen sprites (e263ecb)
- Ensure passed canvas abides by render options (0b51dd6)
- ๐ฆ expose demo instance externally (a9122ed)
- ๐ fix angle indicators for compound bodies (8031090)
- ๐ fix bug in Composites.stack when skipping bodies (b34669e)
- ๐ fix bug when using timing.isFixed, closes #44 (0933620), closes #44
- ๐ fix concat dependency (84a22ba)
- ๐ fix demo for tests (5e6b22b)
- ๐ fix Demo.reset to fully reset ids (500d566)
- ๐ fix Demo.stress stability (d0fdd29)
- ๐ Fix for travis (05f1c46)
- ๐ fix grunt for travis (d405910)
- ๐ fix grunt for travis (f55d806)
- ๐ fix gulp issues (4173e70)
- ๐ fix gulp issues (3bd556d)
- ๐ fix handling of engine.render (c46e915)
- ๐ fix issue in Render.inspector on Chrome (86fcfcd)
- ๐ fix issue of undefined body.parts in constructor (9d3755a)
- ๐ fix issue when Bodies.trapezoid slope === 1, closes #138 (449774c), closes #138
- ๐ fix issue with mouse when changing renderers, closes #96 (796faeb), closes #96
- ๐ fix issue with Render.debug when no timing passed, closes #171 and #176 (087fab2), closes #171 #176
- ๐ fix jshint (b0f72ab)
- ๐ fix lint issue (9a599f1)
- ๐ fix Matter.Demo for node (2de1161)
- ๐ fix Matter.Demo for node (06eea3e)
- ๐ fix Matter.Runner for node (ad55b85)
- ๐ fix mobile demo, remove dev.html, fix debug info rendering (9d5c27a)
- ๐ fix orientation event bug in DemoMobile (f770a7c)
- ๐ fix pair properties for compounds (b8f3784)
- ๐ fix runner for tests, limit precision of refs (352bfd6)
- ๐ fix standalone option (de16529)
- ๐ fix support for nodejs (b669ea0)
- ๐ fix tests (eccf0a7)
- ๐ fix travis (3ce6c3a)
- ๐ fix travis issue (131ed5e)
- ๐ fix undefined variables, added jshint checks, closes #102 (536e55f), closes #102
- ๐ fixed Body.rotate (c5212e1)
- ๐ fixed Body.setVertices (73ded98)
- ๐ fixed bug in constraints for compounds (13fcb4b)
- ๐ fixed bug in Demo.reset that was creating multiple MouseConstraint (8204d97)
- ๐ fixed build tasks (69ff33f)
- ๐ fixed build tasks, closes #161 (d1b8705), closes #161
- ๐ fixed chaining for some Matter.Vertices methods (8746185)
- ๐ fixed collision detection issue, closes #12 (3e48825), closes #12
- ๐ fixed collision incident and reference body mapping (757fffa)
- ๐ fixed collision rendering (bc9a051)
- ๐ fixed Common.now, closes #55 (8555c0c), closes #55
- ๐ fixed compound body stability, improved position resolver (e01dd22)
- ๐ fixed critical inertia calculation issue, a potential breaking change, so Body._inertiaScale added t (9a55b0c)
- ๐ fixed Example.timescale (19656cd)
- ๐ fixed friction in Demo.manipulation (95ae911)
- ๐ fixed gulp shell task args (c2b0f30)
- ๐ fixed incorrect bounds issue when passing angle in Body.create (810bd26)
- ๐ fixed issue with Body.applyForce torque, closes #64 (3f9364c), closes #64
- ๐ fixed issue with docs (3a16f90)
- ๐ fixed issue with MouseConstraint.create, closes #185 (dff0e30), closes #185
- ๐ fixed issues with friction stability (1db98a3)
- ๐ Fixed missed variable declaration. (a940d96)
- ๐ fixed options pass through on Bodies.fromVertices (eb29367)
- ๐ fixed Query.ray, Number.MIN_VALUE seems to cause SAT.collides to fail (ccbb98b)
- ๐ fixed RenderPixi for compound bodies (6679b9c)
- ๐ fixed SAT overlap calculation for containment case (685f2bd)
- ๐ fixed scaling on RenderPixi view bounds (c1964e2)
- ๐ fixed support finding logic (bc7dfc7)
- ๐ fixed Vertices.fromPath when parsing scientific notation (dae684d)
- ๐ fixes for compound bodies (87f9065)
- ๐ formatting merge (d4cbdbb)
- further work on compound implementation (d2f79b4)
- hide axis indicator on compound bodies (6a26696)
- ignoring .idea (066a416)
- โ implemented automated browser tests (a88b3ba)
- implemented compound bodies, added Body.setParts (f554d6c)
- implemented static compound bodies (90adf14)
- implemented temporary vector pool (7a477f2)
- ๐ improve Composite.car (5ff2182)
- ๐ improved collision detection for compounds (84d9f59)
- ๐ improved Demo.manipulation (e186ccd)
- ๐ improved docs (2317f02)
- ๐ improved docs (2e6afd4)
- ๐ improved examples (6e1f8e9)
- ๐ improved friction, added body.frictionStatic (937c7bf)
- ๐ improved traction for Composites.car (95eddb0)
- increased tollerance on internal edge finding (40905e8)
- ๐ initial work on browser tests (6a88256)
- ๐ initial work on compound bodies (243fce4)
- ๐ Make background:'transparent' work like canvas renderer (f9123f9)
- ๐ Merge branch 'browser-tests' (a6b82c1)
- ๐ Merge branch 'collision-filters' of https://github.com/GustavCarlson/matter-js into GustavCarlson-co (3a32bda)
- ๐ Merge branch 'GustavCarlson-collision-filters' (a58fe2a)
- ๐ Merge branch 'master' into runner-improve (a48d219)
- ๐ Merge branch 'master' into topic/addBounds (a461fc7)
- ๐ Merge branch 'master' of github.com:liabru/matter-js (4067108)
- ๐ Merge branch 'master' of https://github.com/rfoligno/matter-js into rfoligno-master (41b4b7f)
- ๐ Merge branch 'master' of https://github.com/schahriar/matter-js into schahriar-master (2510cdf)
- ๐ Merge branch 'no-gravity-optim' of https://github.com/BlackDice/matter-js into BlackDice-no-gravity- (1b8574a)
- ๐ Merge branch 'node-tests' into browserify (6e0e7e4)
- ๐ Merge branch 'pr/60' (42dc72d)
- ๐ Merge branch 'pr/95' (eed9167)
- ๐ Merge branch 'runner-improve' into browserify (9e3438f)
- ๐ Merge pull request #30 from mrspeaker/master (e95e328)
- ๐ Merge pull request #31 from mrspeaker/topic/addBounds (6652bb4)
- Merge pull request #51 from tumult/pair_refreshes_from_body_values (7c1efb6)
- ๐ Merge remote-tracking branch 'origin/pr/33' (c6a9414)
- merge tumult:old_ie_fixes + tweaks (6e1ab9a)
- ๐ migrated from grunt to gulp, jshint to eslint (19bb655)
- 0๏ธโฃ Missing argument whose default is 1. (61855ab)
- ๐ More fine-grained collision filtering in the style of Box2D (dd4fc65)
- ๐ move /tests to /test (ad403ae)
- move Demo.* to Example.* (b722012)
- ๐ move license in build (9ba8a2a)
- ๐ move require statements below module export (99c3bb3)
- โก๏ธ moved collision events into Engine.update, changed collisionStart to trigger before collisions resol (69b1d05)
- ๐ moved Engine.run to Matter.Runner (6911395)
- ๐ moved engine.timing properties, tick events and Engine.render into Matter.Runner module (dcdc43d)
- pass width and height options to Pixi webGL renderer (a9278fc)
- publish to npm (a12fbcb)
- ๐จ refactor Bodies.fromVertices (4a2c6e7)
- ๐จ refactor Demo.create (c0b24da)
- ๐จ refactor Demo.init (fb76605)
- โ remove constraint torque clamp (6f89250)
- โ removed Body.resetForcesAll, removed Body.applyGravityAll, removed Body.updateAll (9aa0945)
- โ removed collision.supportCorrected instead using bodyB.position, added render.options.showSeparation (2b6a8d3)
- โ removed complexity check in Bodies.fromVertices, enforce clockwise sort (2d1ef0d)
- โ removed Detector.bruteForce (e04de5f)
- โ removed engine.broadphase.current, removed engine.broadphase.instance, changed engine.broadphase to (6dd0c05)
- โ removed engine.input, removed Engine mouse events, added MouseConstraint mouse events (fb5d899)
- โ removed line width change from Body.setStatic (04955bb)
- โ removed Matter.Metrics from release builds (now dev only) (968bba2)
- โ removed old build (a068bec)
- โ removed redundant property (14392b4)
- โ removed Render.clear (redundant) (0a15d7d)
- โ removed Render.setBackground (now use render.options) (01bc813)
- โ removed unused vars from examples (0bff037)
- โ removed version number from edge build name (e6b998e)
- render normals pointing out of static bodies (d082b3a)
- skip presolve when impulse 0 (296059c)
- skip unnecessary loops in Composites.mesh, closes #85 (0a73a64), closes #85
- โก๏ธ Some fixes in pixi.js v3 update (96735dd)
- Spellchecking (940976a)
- Spellchecking (c2e0c23)
- Spellchecking (cd5d401)
- Spellchecking (611a429)
- Spellchecking (723ddcf)
- Spellchecking (65d5d93)
- Spellchecking (3127654)
- ๐ tweak jshint (71df1b9)
- ๐ tweaks to collision filtering (5060c76)
- ๐ tweaks to Matter.Runner (ce474da)
- โก๏ธ Update JSDoc (25ab2a3)
- โก๏ธ Update JSDoc (18e0642)
- โก๏ธ Update JSDoc (71ef6c2)
- โก๏ธ Update JSDoc (10a46b7)
- โก๏ธ Update JSDoc (5b87f47)
- โก๏ธ Update JSDoc (d17eb6c)
- โก๏ธ Update JSDoc (aa3eabc)
- โก๏ธ update node version for travis (e698b6b)
- โก๏ธ updated browser test refs (1810f93)
- โก๏ธ updated browser test refs (ae32d63)
- โก๏ธ updated browser test refs (31fb748)
- โก๏ธ updated contributing notes (8b89e87)
- โก๏ธ updated docs for collisionFilter (9f10f88)
- โก๏ธ updated edge build (2fa1570)
- โก๏ธ updated edge build (02ab198)
- โก๏ธ updated edge build (37a86cd)
- โก๏ธ updated edge build (cd00353)
- โก๏ธ updated edge build (37ccc84)
- โก๏ธ updated edge build (bf3f986)
- โก๏ธ updated edge build (16733ad)
- โก๏ธ updated edge build (2f2d416)
- โก๏ธ updated edge build (5770013)
- โก๏ธ updated edge build (43fd2e3)
- โก๏ธ updated edge build (fbb7c1a)
- โก๏ธ updated edge build (d6cbd07)
- โก๏ธ updated edge build (9561d5d)
- โก๏ธ updated edge build (a80fbc1)
- โก๏ธ updated edge build (5b2b060)
- โก๏ธ updated edge build (d22b1b4)
- โก๏ธ updated edge build (2ab20b0)
- โก๏ธ updated edge build (f2635ab)
- โก๏ธ updated matter-tools (c969767)
- โก๏ธ updated matter-tools (4ecad0f)
- โก๏ธ updated node test refs (b1e6a45)
- โก๏ธ Updated pixi.js to v3 (419d2ad)
- โก๏ธ updated readme (137580c)
- โก๏ธ updated readme (f4f3bf7)
- โก๏ธ updated readme (d2dcc77)
- โก๏ธ updated readme (2806fd3)
- โก๏ธ updated readme (3e5abab)
- โก๏ธ updated readme (8f2f8ee)
- โก๏ธ updated readme (6cd00b1)
- โก๏ธ updated test refs (b79ece2)
- โก๏ธ updated test refs (1a55259)
- โก๏ธ updated test refs (110aea8)
- โก๏ธ updated test refs (729e2bf)
- โฌ๏ธ upgraded pixi.js to v3.0.6 (d03145e)
- 0๏ธโฃ use actual canvas size for default render bounds (c3129b8)
- ๐ป use browserify (00251e5)
- ๐ use build folder for demo (fa47d5c)
- โ use different port for test server, fix test precision limiter (c1f71b9)
- ๐ Use own Common.indexOf method for IE 6-8 compatibility (b91af36)
- โก๏ธ When updating pairs use current values from bodies as they may have changed (f0e7491)