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

286 commits

Author SHA1 Message Date
liabru
500d566772 fix Demo.reset to fully reset ids 2015-12-25 15:57:27 +00:00
liabru
d4cbdbbd0e formatting merge 2015-12-23 16:07:37 +00:00
liabru
1b8574ac16 Merge branch 'no-gravity-optim' of https://github.com/BlackDice/matter-js into BlackDice-no-gravity-optim 2015-12-23 16:04:16 +00:00
liabru
dff0e30cbc fixed issue with MouseConstraint.create, closes #185 2015-12-23 13:50:31 +00:00
liabru
3f9364c240 fixed issue with Body.applyForce torque, closes #64 2015-12-23 13:41:11 +00:00
liabru
6e1f8e9e27 improved examples 2015-12-23 12:45:40 +00:00
liabru
1db98a3e86 fixed issues with friction stability 2015-12-23 12:45:11 +00:00
liabru
3de9d00b8e added sprite offsets relative to centre of mass, closes #153 2015-12-05 20:26:49 +00:00
liabru
449774c94d fix issue when Bodies.trapezoid slope === 1, closes #138 2015-12-05 18:58:56 +00:00
liabru
e04de5fb4e removed Detector.bruteForce 2015-12-05 18:12:07 +00:00
liabru
c3129b8651 use actual canvas size for default render bounds 2015-12-05 17:19:50 +00:00
liabru
2510cdfa12 Merge branch 'master' of https://github.com/schahriar/matter-js into schahriar-master 2015-12-05 17:12:50 +00:00
liabru
087fab245e fix issue with Render.debug when no timing passed, closes #171 and #176 2015-12-05 16:42:53 +00:00
liabru
203252a872 added Demo.setManualControl 2015-12-02 22:33:31 +00:00
liabru
df5f16ca5f added missing dependency to Render.js 2015-12-02 00:45:19 +00:00
liabru
e191d44857 added render.options.showMousePosition 2015-12-02 00:41:28 +00:00
liabru
e0a6de0971 added Matter.version 2015-12-02 00:39:51 +00:00
liabru
8210dbebb3 added early out in Constraint.postSolveAll, pass body.velocity when updating bounds 2015-12-02 00:38:56 +00:00
Schahriar SaffarShargh
0b51dd67c5 Ensure passed canvas abides by render options
Engine.create takes a canvas element or creates a new canvas using the
given options. While the properties width and height in options do apply
to the created canvas, they do not apply to the passed canvas. These set
options are under render.canvas, render.options.width and
render.options.height. This issue was fixed by setting the canvas width
and height only when a canvas element is directly provided.
2015-11-09 02:21:05 -08:00
liabru
9d5c27afb8 fix mobile demo, remove dev.html, fix debug info rendering 2015-08-26 00:30:25 +01:00
liabru
9ba8a2afd4 move license in build 2015-08-17 23:30:25 +01:00
liabru
de165293c3 fix standalone option 2015-08-17 21:02:41 +01:00
liabru
6e0e7e47f8 Merge branch 'node-tests' into browserify
Conflicts:
	.jshintrc
2015-08-17 20:55:13 +01:00
liabru
06eea3ec3a fix Matter.Demo for node 2015-08-17 00:48:52 +01:00
liabru
ad55b85912 fix Matter.Runner for node 2015-08-15 20:38:40 +01:00
liabru
99c3bb3273 move require statements below module export 2015-08-13 23:03:08 +01:00
liabru
9e3438f359 Merge branch 'runner-improve' into browserify 2015-08-13 21:07:58 +01:00
liabru
ce474dad45 tweaks to Matter.Runner 2015-08-13 00:36:31 +01:00
liabru
aa48322329 added beforeRender and afterRender events to Matter.Render 2015-07-29 20:26:35 +01:00
liabru
dcdc43d475 moved engine.timing properties, tick events and Engine.render into Matter.Runner module 2015-07-29 20:25:46 +01:00
liabru
86fcfcd223 fix issue in Render.inspector on Chrome 2015-07-29 20:17:47 +01:00
liabru
5c69f2efd1 added Runner.create and Runner.tick 2015-07-07 23:02:17 +01:00
liabru
1b7e27d8a4 added options to Metrics.create 2015-07-07 21:07:48 +01:00
liabru
c46e9155e2 fix handling of engine.render 2015-07-05 15:57:12 +01:00
FredyC
e54802c335 don't calculate gravity force if there is no actual gravity 2015-07-03 07:09:16 +02:00
liabru
536e55f496 fix undefined variables, added jshint checks, closes #102 2015-07-02 20:16:20 +01:00
liabru
b669ea0da1 fix support for nodejs 2015-06-29 20:57:41 +01:00
liabru
00251e5b04 use browserify 2015-06-04 20:54:50 +01:00
liabru
bc26469df2 added body sleepStart and sleepEnd events, closes #91 2015-05-24 15:56:54 +01:00
liabru
42dc72dabe Merge branch 'pr/60'
[liabru] corrected some of the param types before merge

Conflicts:
	src/body/Body.js
	src/collision/Resolver.js
	src/render/Render.js
	src/render/RenderPixi.js
2015-05-24 13:43:34 +01:00
liabru
d03145e2d1 upgraded pixi.js to v3.0.6 2015-05-22 00:32:39 +01:00
liabru
eed91673f7 Merge branch 'pr/95' 2015-05-22 00:08:54 +01:00
upisfree
96735dd2c4 Some fixes in pixi.js v3 update 2015-05-22 00:10:17 +06:00
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