liabru
|
0a73a64520
|
skip unnecessary loops in Composites.mesh, closes #85
|
2015-05-21 00:07:30 +01:00 |
|
liabru
|
8b5192d04d
|
change world.bounds to Infinity, remove world bounds check from Engine, closes #67
|
2015-05-20 23:29:35 +01:00 |
|
liabru
|
8555c0c671
|
fixed Common.now, closes #55
|
2015-05-20 23:12:26 +01:00 |
|
liabru
|
41b4b7f610
|
Merge branch 'master' of https://github.com/rfoligno/matter-js into rfoligno-master
|
2015-05-20 22:41:38 +01:00 |
|
liabru
|
200fcbe652
|
added docs
|
2015-05-20 20:26:39 +01:00 |
|
liabru
|
95eddb01f7
|
improved traction for Composites.car
|
2015-05-20 20:22:32 +01:00 |
|
upisfree
|
419d2addca
|
Updated pixi.js to v3
|
2015-05-20 01:07:04 +06:00 |
|
liabru
|
de4784c492
|
changed friction impulse limiting approach
|
2015-05-08 00:14:24 +01:00 |
|
liabru
|
937c7bfcb6
|
improved friction, added body.frictionStatic
|
2015-05-03 15:50:38 +01:00 |
|
liabru
|
296059cba2
|
skip presolve when impulse 0
|
2015-05-03 13:32:53 +01:00 |
|
liabru
|
ccbb98b8d0
|
fixed Query.ray, Number.MIN_VALUE seems to cause SAT.collides to fail
|
2015-04-26 19:44:32 +01:00 |
|
liabru
|
dae684d082
|
fixed Vertices.fromPath when parsing scientific notation
|
2015-04-26 19:41:49 +01:00 |
|
liabru
|
bc8840673f
|
changed vertex number render fillstyle
|
2015-04-24 00:24:20 +01:00 |
|
liabru
|
40905e82a6
|
increased tollerance on internal edge finding
|
2015-04-22 01:07:48 +01:00 |
|
liabru
|
6679b9c6c5
|
fixed RenderPixi for compound bodies
|
2015-04-21 21:16:26 +01:00 |
|
liabru
|
b34669ed69
|
fix bug in Composites.stack when skipping bodies
|
2015-04-21 21:08:15 +01:00 |
|
liabru
|
998ab33c07
|
changed default minimum area in Bodies.fromVertices
|
2015-04-21 21:07:09 +01:00 |
|
liabru
|
8031090377
|
fix angle indicators for compound bodies
|
2015-04-21 21:04:37 +01:00 |
|
liabru
|
13fcb4b8f9
|
fixed bug in constraints for compounds
|
2015-04-21 20:24:21 +01:00 |
|
liabru
|
7db3d281a5
|
cleanup Svg.pathToVertices
|
2015-04-13 00:26:16 +01:00 |
|
liabru
|
e8205f84d8
|
added support for multiple vertices input in Bodies.fromVertices
|
2015-04-13 00:25:49 +01:00 |
|
liabru
|
4a2c6e7539
|
refactor Bodies.fromVertices
|
2015-04-11 22:55:50 +01:00 |
|
liabru
|
98ea7c7955
|
added Query.point
|
2015-04-08 23:33:11 +01:00 |
|
liabru
|
e01dd229a9
|
fixed compound body stability, improved position resolver
|
2015-04-08 20:31:03 +01:00 |
|
liabru
|
3ed80343e1
|
changed Render.bodyIds to show all parts
|
2015-03-09 22:35:59 +00:00 |
|
liabru
|
bf11ee5504
|
added minimum area check to Bodies.fromVertices
|
2015-03-09 20:51:07 +00:00 |
|
liabru
|
2b6a8d38af
|
removed collision.supportCorrected instead using bodyB.position, added render.options.showSeparations
|
2015-03-04 01:03:38 +00:00 |
|
Richard Foligno
|
05f1c46255
|
Fix for travis
|
2015-03-03 19:50:47 -05:00 |
|
Richard Foligno
|
d585e80b5b
|
Allow for negative force to bring a body out of sleeping state.
|
2015-03-03 19:46:44 -05:00 |
|
liabru
|
9d3755ab6e
|
fix issue of undefined body.parts in constructor
|
2015-03-03 23:43:24 +00:00 |
|
liabru
|
d082b3adcc
|
render normals pointing out of static bodies
|
2015-03-02 22:30:38 +00:00 |
|
liabru
|
8bf3278304
|
cleanup Svg.pathToPoints
|
2015-03-01 17:26:46 +00:00 |
|
liabru
|
7822ead3bf
|
added Matter.Svg.pathToPoints
|
2015-03-01 15:52:34 +00:00 |
|
liabru
|
2d1ef0d6d4
|
removed complexity check in Bodies.fromVertices, enforce clockwise sort
|
2015-03-01 15:51:45 +00:00 |
|
liabru
|
90adf147e9
|
implemented static compound bodies
|
2015-02-28 16:58:00 +00:00 |
|
liabru
|
6a26696fc7
|
hide axis indicator on compound bodies
|
2015-02-28 16:00:05 +00:00 |
|
liabru
|
ca75fde09a
|
added internal edge flagging to Bodies.fromVertices
|
2015-02-25 00:28:11 +00:00 |
|
liabru
|
bc7dfc74b8
|
fixed support finding logic
|
2015-02-25 00:13:40 +00:00 |
|
liabru
|
757fffaf20
|
fixed collision incident and reference body mapping
|
2015-02-25 00:12:21 +00:00 |
|
liabru
|
b8f3784b76
|
fix pair properties for compounds
|
2015-02-24 23:57:38 +00:00 |
|
liabru
|
685f2bdc54
|
fixed SAT overlap calculation for containment case
|
2015-02-24 00:01:20 +00:00 |
|
liabru
|
bc9a051e73
|
fixed collision rendering
|
2015-02-21 22:19:12 +00:00 |
|
liabru
|
84d9f591aa
|
improved collision detection for compounds
|
2015-02-10 23:40:05 +00:00 |
|
liabru
|
5ab2bf30f0
|
added Render.showInternalEdges, added rendering bounds + axes + positions for compounds, fixed rendering vertex numbers
|
2015-02-10 23:38:03 +00:00 |
|
liabru
|
d6829bf536
|
added support for compound bodies in MouseConstraint
|
2015-02-08 00:16:12 +00:00 |
|
liabru
|
87f90655b7
|
fixes for compound bodies
|
2015-02-04 23:26:13 +00:00 |
|
liabru
|
10e5d0fcd2
|
added compound support to Query.ray
|
2015-02-01 23:59:14 +00:00 |
|
liabru
|
eb29367459
|
fixed options pass through on Bodies.fromVertices
|
2015-02-01 23:14:59 +00:00 |
|
liabru
|
0b8efa5c40
|
added Demo.concave, added Bodies.fromVertices, added Vertices.isConvex, fixed compound properties
|
2015-02-01 22:55:24 +00:00 |
|
liabru
|
d2f79b4689
|
further work on compound implementation
|
2015-02-01 13:57:56 +00:00 |
|
liabru
|
f554d6c9a6
|
implemented compound bodies, added Body.setParts
|
2015-02-01 00:03:40 +00:00 |
|
liabru
|
9c139ed9df
|
added Render.vertexNumbers, Render.bodyConvexHulls
|
2015-01-31 23:52:55 +00:00 |
|
liabru
|
243fce47c9
|
initial work on compound bodies
|
2015-01-29 23:25:58 +00:00 |
|
liabru
|
b3921fb72e
|
added Matter.World extends Matter.Composite to docs
|
2015-01-25 15:14:51 +00:00 |
|
liabru
|
968bba265a
|
removed Matter.Metrics from release builds (now dev only)
|
2015-01-25 12:06:55 +00:00 |
|
liabru
|
7a477f2088
|
implemented temporary vector pool
|
2015-01-24 19:48:27 +00:00 |
|
liabru
|
b327a40e9b
|
added Vector.create
|
2015-01-24 19:40:23 +00:00 |
|
liabru
|
0583cdbd90
|
added Render.create warning for omitted element
|
2015-01-21 00:11:10 +00:00 |
|
liabru
|
b6603ca290
|
added MouseConstraint.create warning for omitted element
|
2015-01-21 00:10:39 +00:00 |
|
liabru
|
af83e27ff0
|
added Mouse.create warning for omitted element
|
2015-01-21 00:10:10 +00:00 |
|
liabru
|
c220f41701
|
changed Common.log to use console.warn
|
2015-01-21 00:09:07 +00:00 |
|
PlNG
|
a940d96886
|
Fixed missed variable declaration.
|
2015-01-20 11:56:26 -05:00 |
|
PlNG
|
61855ab875
|
Missing argument whose default is 1.
|
2015-01-20 11:53:03 -05:00 |
|
PlNG
|
5b87f47673
|
Update JSDoc
This might need fixing later, I don't know if I did it right.
|
2015-01-20 11:49:24 -05:00 |
|
PlNG
|
aa3eabc5fe
|
Update JSDoc
This might need fixing later, I don't know if I did it right.
|
2015-01-20 11:49:21 -05:00 |
|
PlNG
|
d17eb6c9b4
|
Update JSDoc
This might need fixing later, I don't know if I did it right.
|
2015-01-20 11:49:17 -05:00 |
|
PlNG
|
25ab2a39b0
|
Update JSDoc
This might need fixing later, I don't know if I did it right.
|
2015-01-20 11:49:14 -05:00 |
|
PlNG
|
10a46b7fad
|
Update JSDoc
This might need fixing later, I don't know if I did it right.
|
2015-01-20 11:49:12 -05:00 |
|
PlNG
|
71ef6c2cdb
|
Update JSDoc
This might need fixing later, I don't know if I did it right.
|
2015-01-20 11:49:08 -05:00 |
|
PlNG
|
18e0642d24
|
Update JSDoc
This might need fixing later, I don't know if I did it right.
|
2015-01-20 11:49:03 -05:00 |
|
PlNG
|
611a429746
|
Spellchecking
|
2015-01-20 11:07:49 -05:00 |
|
PlNG
|
723ddcf572
|
Spellchecking
|
2015-01-20 11:07:44 -05:00 |
|
PlNG
|
65d5d9330b
|
Spellchecking
|
2015-01-20 11:07:29 -05:00 |
|
PlNG
|
3127654b41
|
Spellchecking
|
2015-01-20 11:07:26 -05:00 |
|
PlNG
|
940976acbb
|
Spellchecking
|
2015-01-20 11:07:23 -05:00 |
|
PlNG
|
c2e0c23539
|
Spellchecking
|
2015-01-20 11:07:20 -05:00 |
|
PlNG
|
cd5d4011e6
|
Spellchecking
|
2015-01-20 11:07:15 -05:00 |
|
liabru
|
9aa0945f03
|
removed Body.resetForcesAll, removed Body.applyGravityAll, removed Body.updateAll
|
2015-01-19 00:30:06 +00:00 |
|
liabru
|
0a15d7d1b1
|
removed Render.clear (redundant)
|
2015-01-17 14:27:51 +00:00 |
|
liabru
|
01bc8132f1
|
removed Render.setBackground (now use render.options)
|
2015-01-17 14:22:30 +00:00 |
|
liabru
|
0933620b68
|
fix bug when using timing.isFixed, closes #44
|
2015-01-01 23:09:46 +00:00 |
|
liabru
|
d249165ea9
|
added Body.nextCategory
|
2015-01-01 18:30:16 +00:00 |
|
liabru
|
5888ffcaf6
|
cleanup
|
2015-01-01 17:52:18 +00:00 |
|
liabru
|
235b6c8336
|
added Body.set
|
2014-12-28 18:35:01 +00:00 |
|
liabru
|
8dea1666f7
|
added support for sprite scale in RenderPixi, closes #54
|
2014-12-28 18:23:48 +00:00 |
|
liabru
|
4746eb9348
|
added support for hidpi rendering
|
2014-12-28 18:20:54 +00:00 |
|
Jonathan Deutsch
|
f0e74912d5
|
When updating pairs use current values from bodies as they may have changed
|
2014-12-04 13:33:44 -08:00 |
|
liabru
|
c254c8d674
|
added drag events to MouseConstraint, closes #45
|
2014-09-19 00:31:40 +01:00 |
|
liabru
|
4c4962fb4f
|
added Composite.translate, Composite.rotate, Composite.scale
|
2014-07-30 17:27:20 +01:00 |
|
liabru
|
2fa1570e45
|
updated edge build
|
2014-07-29 16:26:49 +01:00 |
|
liabru
|
6911395222
|
moved Engine.run to Matter.Runner
|
2014-07-29 16:23:14 +01:00 |
|
liabru
|
9f10f88831
|
updated docs for collisionFilter
|
2014-07-29 15:30:10 +01:00 |
|
liabru
|
cee8d55a32
|
added collisionFilter support to MouseConstraint
|
2014-07-29 13:26:20 +01:00 |
|
liabru
|
5060c7626a
|
tweaks to collision filtering
|
2014-07-29 13:14:31 +01:00 |
|
liabru
|
3a32bdafd3
|
Merge branch 'collision-filters' of https://github.com/GustavCarlson/matter-js into GustavCarlson-collision-filters
|
2014-07-29 10:40:34 +01:00 |
|
liabru
|
04955bbbb1
|
removed line width change from Body.setStatic
|
2014-07-27 19:14:12 +01:00 |
|
Gustav Carlson
|
dd4fc65cf2
|
More fine-grained collision filtering in the style of Box2D
|
2014-07-22 14:52:16 +02:00 |
|
liabru
|
6e1ab9a24c
|
merge tumult:old_ie_fixes + tweaks
|
2014-07-12 18:42:39 +01:00 |
|
liabru
|
18a26275d0
|
appease jshint
|
2014-07-12 18:14:04 +01:00 |
|
liabru
|
c1964e2de8
|
fixed scaling on RenderPixi view bounds
|
2014-07-12 18:10:05 +01:00 |
|
Liam Brummitt
|
6652bb4f34
|
Merge pull request #31 from mrspeaker/topic/addBounds
added view bounds for RenderPixi
|
2014-07-12 18:07:32 +01:00 |
|
liabru
|
2841522f3b
|
added composite events
|
2014-07-12 17:34:54 +01:00 |
|
liabru
|
8aa148d2ec
|
changed certain Matter.Composite methods to private in docs
|
2014-07-11 19:03:34 +01:00 |
|
liabru
|
3e48825088
|
fixed collision detection issue, closes #12
|
2014-07-11 15:09:29 +01:00 |
|
liabru
|
810bd2695a
|
fixed incorrect bounds issue when passing angle in Body.create
|
2014-07-09 18:08:19 +01:00 |
|
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
|
a461fc744f
|
Merge branch 'master' into topic/addBounds
|
2014-06-13 12:55:32 -04:00 |
|
Mr Speaker
|
f9123f9e05
|
Make background:'transparent' work like canvas renderer
|
2014-06-12 22:00:18 -04:00 |
|
Mr Speaker
|
e263ecb60b
|
dont draw offscreen constraints. Set visible flag on offscreen sprites
|
2014-06-12 17:13:56 -04:00 |
|
Mr Speaker
|
97f0f8d7d4
|
Add Pixi DisplayObjectContainer to allow view bounds in webGL
|
2014-06-12 16:43:16 -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 |
|
Jonathan Deutsch
|
b91af36575
|
Use own Common.indexOf method for IE 6-8 compatibility
Conflicts:
src/core/Common.js
|
2014-05-05 16:58:42 -07: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 |
|
liabru
|
964898bea2
|
added Composite.rebase
|
2014-04-29 17:34:45 +01:00 |
|
liabru
|
cb7cb9583a
|
added Common.nextId, removed Body.nextId, removed Constraint.nextId, removed Composite.nextId
|
2014-04-29 17:34:28 +01:00 |
|
liabru
|
23a0fce2c0
|
appease jshint
|
2014-04-29 15:29:21 +01:00 |
|
liabru
|
a46851597a
|
further work on Matter.Inspector
|
2014-04-29 13:07:53 +01:00 |
|
liabru
|
00559ba8d3
|
further work on Matter.Inspector
|
2014-04-28 17:26:03 +01:00 |
|
liabru
|
f80866c6de
|
Matter.Composite tweaks
|
2014-04-28 17:25:49 +01:00 |
|
liabru
|
2c601093bf
|
added Composite.move
|
2014-04-28 17:02:28 +01:00 |
|
liabru
|
de998986e0
|
further work on Matter.Inspector
|
2014-04-28 12:50:56 +01:00 |
|
liabru
|
ee96d16cb5
|
changed vertices in Bounds.create to optional
|
2014-04-28 12:50:08 +01:00 |
|
liabru
|
b98cef000d
|
added Query.region
|
2014-04-28 12:49:36 +01:00 |
|
liabru
|
e8f5b221f5
|
better default labels
|
2014-04-25 17:22:25 +01:00 |
|
liabru
|
d883671874
|
removed file functions from Matter.Gui and added file functions to Matter.Inspector
|
2014-04-25 17:06:54 +01:00 |
|
liabru
|
fa06a05a04
|
initial commit of Matter.Inspector
|
2014-04-25 17:00:42 +01:00 |
|
liabru
|
d154fc7ac7
|
refactored Mater.Gui
|
2014-04-25 16:59:25 +01:00 |
|
liabru
|
a59abed8ec
|
added labels to bodies, constraints and composites
|
2014-04-25 16:56:59 +01:00 |
|
liabru
|
e1b6f9ba5a
|
added Composite.get
|
2014-04-25 16:56:06 +01:00 |
|
liabru
|
57c6e29105
|
moved Gui.js into src/tools/Gui.js
|
2014-04-25 16:55:51 +01:00 |
|
liabru
|
b59b65c6f6
|
refactored Matter.Gui
|
2014-04-25 11:06:13 +01:00 |
|
liabru
|
4c97284f0e
|
fixed an issue with timing.timeScale when at 0
|
2014-04-24 19:45:06 +01:00 |
|
liabru
|
88a703757b
|
added world file saving and loading to Gui
|
2014-04-24 18:35:38 +01:00 |
|
liabru
|
8f53178715
|
moved event documentation to end of file for clarity
|
2014-04-24 16:36:36 +01:00 |
|
liabru
|
5830311daa
|
changed engine.timeScale to engine.timing.timeScale
|
2014-04-24 16:29:48 +01:00 |
|
liabru
|
e8dba617de
|
fixed some issues with engine.timeScale
|
2014-04-24 16:23:23 +01:00 |
|
liabru
|
a3a475fce7
|
added Query module, added Query.ray
|
2014-04-24 12:21:14 +01:00 |
|
liabru
|
5e2a1e5df9
|
added Vector.angle
|
2014-04-24 12:19:52 +01:00 |
|
liabru
|
7694b7d4f8
|
removed Body.updateProperties (now a private method)
|
2014-04-23 16:54:35 +01:00 |
|
liabru
|
8acfdb7f38
|
added Body.setStatic
|
2014-04-23 16:51:14 +01:00 |
|
liabru
|
1f11af9edb
|
added Body.scale
|
2014-04-23 16:40:48 +01:00 |
|
liabru
|
537f0912c3
|
constraints now account for timeScale
|
2014-04-23 14:26:57 +01:00 |
|
liabru
|
613e63699b
|
added per-body timeScale
|
2014-04-23 14:08:57 +01:00 |
|
liabru
|
aeea9f8c08
|
tweaks to docs
|
2014-04-01 13:45:15 +01:00 |
|
liabru
|
b421c38f74
|
optimisation for non-rotating bodies
|
2014-03-31 11:38:43 +01:00 |
|
liabru
|
365152df6e
|
constraint early out for small differences
|
2014-03-31 11:22:20 +01:00 |
|
liabru
|
283281aeb7
|
added composite meshing and soft body factory
|
2014-03-30 19:43:48 +01:00 |
|
liabru
|
b24408635a
|
improved constraint performance
|
2014-03-30 18:21:40 +01:00 |
|
liabru
|
0d4a6f4000
|
replaced "in" operator usage with access checks, it's a little faster
|
2014-03-28 18:36:14 +00:00 |
|
liabru
|
1b2d58cebf
|
delta is now sampled over 1s, improves stability
|
2014-03-28 18:21:33 +00:00 |
|
liabru
|
15acf3c9b8
|
improved newtons cradle
|
2014-03-28 17:48:30 +00:00 |
|
liabru
|
f35a54d81f
|
constraintIterations now defaults to 2 for better stability
|
2014-03-28 17:33:25 +00:00 |
|
liabru
|
473e7de6e0
|
added default scale to sprites
|
2014-03-27 14:38:59 +00:00 |
|
liabru
|
203179d526
|
removed default MouseConstraint from engine, now must be manually added by user (see demo)
|
2014-03-26 11:53:41 +00:00 |
|
liabru
|
c99ceb02ab
|
added Mouse.setElement
|
2014-03-26 11:46:43 +00:00 |
|
liabru
|
3dfe9b553e
|
composites now have generic multi add / remove methods
|
2014-03-25 15:18:54 +00:00 |
|
liabru
|
2572107078
|
demo now allows body removal by right click
|
2014-03-24 19:57:50 +00:00 |
|
liabru
|
f4636333c4
|
disabled menus and selection on RenderPixi.js
|
2014-03-24 19:49:44 +00:00 |
|
liabru
|
aa42f1653f
|
Events.clear is now Events.off
|
2014-03-24 19:49:03 +00:00 |
|
liabru
|
b253683cb5
|
composites now support removals (implemented isModified flag)
|
2014-03-24 19:48:23 +00:00 |
|
liabru
|
4514f2d598
|
removed Manager, replaced with Pairs
|
2014-03-24 00:47:51 +00:00 |
|
liabru
|
13fde400ba
|
Manager has now become the Pairs data structure
|
2014-03-24 00:47:05 +00:00 |
|
liabru
|
2d52d53bf0
|
composites are now an actual tree structure
|
2014-03-24 00:30:16 +00:00 |
|
liabru
|
9a2511dd50
|
fixed a leak in grid broadphase
|
2014-03-22 14:44:56 +00:00 |
|
liabru
|
3359c1a340
|
refactored and optimised renderer, performance improvements
|
2014-03-20 14:42:29 +00:00 |
|
liabru
|
656ec79fad
|
debug text now respects metrics.extended
|
2014-03-20 11:50:46 +00:00 |
|
liabru
|
97177677cd
|
added gui option to switch renderer
|
2014-03-20 00:47:36 +00:00 |
|
liabru
|
9d0f906fd8
|
added pixi.js webgl renderer
|
2014-03-20 00:46:25 +00:00 |
|
liabru
|
abe379840d
|
added ids to constraints
|
2014-03-20 00:42:52 +00:00 |
|
liabru
|
e4445bc791
|
MouseConstraint is no longer a composite (as it has only one constraint)
|
2014-03-19 22:51:21 +00:00 |
|
liabru
|
77c995ab5e
|
constraints now support visibility
|
2014-03-19 22:39:18 +00:00 |
|
liabru
|
86457bb719
|
render will now manage sprite images passed as paths
|
2014-03-19 22:09:29 +00:00 |
|
liabru
|
e619be0d01
|
improved custom engine renderer passing
|
2014-03-19 21:44:22 +00:00 |
|
liabru
|
99346160aa
|
appease jshint
|
2014-03-19 12:58:54 +00:00 |
|
liabru
|
c8ebf8b9f4
|
added Common.colorToNumber and Common.log
|
2014-03-19 12:51:01 +00:00 |
|
liabru
|
56768a4c9d
|
fixed issue with extending null properties
|
2014-03-19 12:49:48 +00:00 |
|
liabru
|
d54ccb90a6
|
constraints now use a render property
|
2014-03-19 00:55:33 +00:00 |
|
liabru
|
123d391d00
|
now only fps metrics by default, set metrics.extended true for full metrics
|
2014-03-17 17:41:25 +00:00 |
|
liabru
|
00feed5272
|
prevented possible redundant object initialisation
|
2014-03-17 17:22:49 +00:00 |
|
liabru
|
4631768d6f
|
improved performance by always reusing collision objects
|
2014-03-17 17:18:47 +00:00 |
|
liabru
|
0add2f00c9
|
implemented collision caching, big performance boost
|
2014-03-15 17:28:51 +00:00 |
|
liabru
|
2b5eb92556
|
improved performance by passing timestamps
|
2014-03-14 21:14:21 +00:00 |
|
liabru
|
ec06592fcd
|
changes to mouse events
|
2014-03-14 20:05:02 +00:00 |
|
liabru
|
aabd202a9d
|
fixed sprite rendering
|
2014-03-14 19:40:32 +00:00 |
|
liabru
|
885c39b9c3
|
added high resolution timing
|
2014-03-14 19:37:45 +00:00 |
|
liabru
|
97aef1faea
|
added mouse events
|
2014-03-14 19:36:58 +00:00 |
|
liabru
|
9153c7b836
|
fixed removal bug in pair manager
|
2014-03-14 16:11:04 +00:00 |
|
liabru
|
433a1f9b4e
|
bodies now have a 'render' object property
sprites implemented
backgrounds implemented
|
2014-03-13 00:21:31 +00:00 |
|
liabru
|
730d688699
|
added jsdoc for engine events
|
2014-03-11 01:16:20 +00:00 |
|
liabru
|
a368828e3f
|
improve sleeping by ignoring inactive pairs
|
2014-03-10 21:54:01 +00:00 |
|
liabru
|
6516c5be8d
|
moved collision event triggers
|
2014-03-10 21:25:07 +00:00 |
|
liabru
|
6f5e0d0036
|
separated gravity function, applying forces now wakes sleeping bodies
|
2014-03-10 21:12:14 +00:00 |
|
liabru
|
88bd7bc29f
|
refactored pair manager, added new events to engine
|
2014-03-10 20:08:11 +00:00 |
|
liabru
|
21732978ce
|
added new events class
|
2014-03-10 19:58:05 +00:00 |
|
liabru
|
fc6ee29ed4
|
added clone method to common, extend now has option to disable deep
|
2014-03-10 19:56:17 +00:00 |
|
liabru
|
1c1c21b919
|
added jsdoc annotation to all src files
|
2014-02-28 18:15:01 +00:00 |
|
liabru
|
c80fe7f3f9
|
initial commit
|
2014-02-19 14:15:05 +00:00 |
|