0
0
Fork 0
mirror of https://github.com/liabru/matter-js.git synced 2024-11-30 10:20:52 -05:00
Commit graph

134 commits

Author SHA1 Message Date
liabru
69b1d05efc moved collision events into Engine.update, changed collisionStart to trigger before collisions resolved 2014-07-09 17:46:44 +01:00
liabru
c5212e1ba4 fixed Body.rotate 2014-07-03 18:31:47 +01:00
liabru
89140aedf0 appease jshint 2014-06-21 23:23:41 +01:00
liabru
7eadea9d33 changed Sleeping constants to be public (module level) 2014-06-21 23:19:21 +01:00
liabru
0ae2d02812 added time scaling to Sleeping 2014-06-21 23:13:06 +01:00
liabru
e22ceebed5 added docs for engine.timing.isFixed 2014-06-21 22:39:55 +01:00
liabru
6dd0c05f41 removed engine.broadphase.current, removed engine.broadphase.instance, changed engine.broadphase to refer to the broadphase instance, updated matter-tools 2014-06-21 19:24:53 +01:00
liabru
eedd1f2a9c changed Grid.create to accept an options object 2014-06-21 19:18:35 +01:00
liabru
14392b4a88 removed redundant property 2014-06-21 17:55:09 +01:00
liabru
eaa97679d8 changed Mouse.create to return as a plain object 2014-06-21 17:50:04 +01:00
liabru
fb5d899086 removed engine.input, removed Engine mouse events, added MouseConstraint mouse events 2014-06-21 17:44:25 +01:00
liabru
ca978fa8c4 added Body.setMass, Body.setDensity, Body.setInertia 2014-06-21 15:33:49 +01:00
Mr Speaker
f9123f9e05 Make background:'transparent' work like canvas renderer 2014-06-12 22:00:18 -04:00
Mr Speaker
a9278fc6c2 pass width and height options to Pixi webGL renderer 2014-06-12 15:00:18 -04:00
liabru
7ed28f7b8c added Body.setPosition, Body.setAngle, Body.setVelocity, Body.setAngularVelocity 2014-06-03 17:30:17 +01:00
liabru
73ded98a67 fixed Body.setVertices 2014-06-03 17:28:01 +01:00
liabru
874618520b fixed chaining for some Matter.Vertices methods 2014-06-03 15:59:04 +01:00
liabru
9a55b0c902 fixed critical inertia calculation issue, a potential breaking change, so Body._inertiaScale added to try preserve previous behaviour 2014-06-03 15:54:21 +01:00
liabru
2d04389c84 changed Body._initProperties to use Body.setVertices 2014-06-03 15:48:12 +01:00
liabru
b6dbb259ab added Body.setVertices and Vector.clone 2014-06-03 15:47:00 +01:00
liabru
e3e462e64c changed Vertices.create and Vertices.fromPath to create and return a new array rather than apply in-place 2014-06-03 14:02:12 +01:00
liabru
3a16f90404 fixed issue with docs 2014-06-03 13:46:23 +01:00
liabru
2317f02fb4 improved docs 2014-05-20 14:15:39 +01:00
liabru
0a46cb248b changed Math.random to Common.random and use a seeded RNG 2014-05-10 15:01:35 +01:00
liabru
186d839942 fixed more issues with timing.timeScale 2014-05-04 15:12:23 +01:00
liabru
1f8ee5ccca added scale support to Render 2014-05-04 12:37:45 +01:00
liabru
0c107b21ed added mouse.wheelDelta 2014-05-04 12:37:23 +01:00
liabru
8427e89938 fixed Mouse.setScale and Mouse.setOffset 2014-05-04 12:37:04 +01:00
liabru
e63689c938 added Mouse.setScale, Mouse.setPosition, mouse.absolute 2014-05-03 18:45:48 +01:00
liabru
d41b396c7f added Demo.rounded 2014-05-03 16:54:22 +01:00
liabru
120157d6fd added Vertices.chamfer (for rounding corners) 2014-05-03 16:53:21 +01:00
liabru
f1db9df854 removed body.render.path 2014-05-02 19:08:01 +01:00
liabru
bd84d4866e fixed Vertices.centre calculation 2014-05-02 18:59:49 +01:00
liabru
ebc00f83ef changed engine.timing.timestamp to be simulation based rather than wall-clock based 2014-05-02 12:59:41 +01:00
liabru
2fad14336c fixed: changed correction to now be optional in Engine.update (defaults to 1) 2014-05-02 12:53:44 +01:00
liabru
4e14169ac6 changed correction to now be optional in Engine.update (defaults to 1) 2014-05-02 12:25:32 +01:00
liabru
d1f607edb8 added Engine.render, moved respective engine event triggers into Engine.update and Engine.render 2014-05-02 12:23:13 +01:00
liabru
bc35c93106 added engine.timing.isFixed option 2014-05-02 10:48:24 +01:00
liabru
a77a5fc626 moved Matter.Inspector and Matter.Gui to the MatterTools project 2014-05-01 23:13:42 +01:00
liabru
5a72bf1cae further work on Matter.Inspector and Matter.Gui 2014-05-01 13:52:04 +01:00
liabru
786b9af7a0 added mouse.offset 2014-05-01 13:40:45 +01:00
liabru
2a9d2613d6 implemented render.bounds 2014-05-01 13:40:15 +01:00
liabru
38c541363a added Bounds.translate and Bounds.shift 2014-05-01 13:38:56 +01:00
liabru
77168e5faf fixed issue with Matter.Mouse 2014-05-01 11:52:50 +01:00
liabru
3750bfc719 added offset property to Matter.Gui 2014-04-30 22:37:46 +01:00
liabru
7a8051b585 Engine.merge now uses Common.nextId 2014-04-30 21:55:08 +01:00
liabru
84c3b79c2c further work on Matter.Inspector 2014-04-30 12:14:06 +01:00
liabru
5f3e69cb70 fixed Body.setStatic 2014-04-30 12:13:37 +01:00
liabru
5b013d01e7 changed Events.on to return callback, changed Events.off to accept callbacks for removal 2014-04-30 10:32:34 +01:00
liabru
43ce567714 further work on Matter.Inspector 2014-04-29 17:35:27 +01:00