0
0
Fork 0
mirror of https://github.com/liabru/matter-js.git synced 2024-12-28 14:09:01 -05:00
Commit graph

84 commits

Author SHA1 Message Date
liabru
2e6afd477a improved docs 2015-12-27 21:14:24 +00:00
liabru
6e1f8e9e27 improved examples 2015-12-23 12:45:40 +00:00
liabru
3de9d00b8e added sprite offsets relative to centre of mass, closes #153 2015-12-05 20:26:49 +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
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
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
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
aa48322329 added beforeRender and afterRender events to Matter.Render 2015-07-29 20:26:35 +01:00
liabru
86fcfcd223 fix issue in Render.inspector on Chrome 2015-07-29 20:17:47 +01:00
liabru
536e55f496 fix undefined variables, added jshint checks, closes #102 2015-07-02 20:16:20 +01:00
liabru
00251e5b04 use browserify 2015-06-04 20:54:50 +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
upisfree
96735dd2c4 Some fixes in pixi.js v3 update 2015-05-22 00:10:17 +06:00
upisfree
419d2addca Updated pixi.js to v3 2015-05-20 01:07:04 +06:00
liabru
bc8840673f changed vertex number render fillstyle 2015-04-24 00:24:20 +01:00
liabru
6679b9c6c5 fixed RenderPixi for compound bodies 2015-04-21 21:16:26 +01:00
liabru
8031090377 fix angle indicators for compound bodies 2015-04-21 21:04:37 +01:00
liabru
3ed80343e1 changed Render.bodyIds to show all parts 2015-03-09 22:35:59 +00:00
liabru
2b6a8d38af removed collision.supportCorrected instead using bodyB.position, added render.options.showSeparations 2015-03-04 01:03:38 +00:00
liabru
d082b3adcc render normals pointing out of static bodies 2015-03-02 22:30:38 +00:00
liabru
6a26696fc7 hide axis indicator on compound bodies 2015-02-28 16:00:05 +00:00
liabru
bc9a051e73 fixed collision rendering 2015-02-21 22:19:12 +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
d2f79b4689 further work on compound implementation 2015-02-01 13:57:56 +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
968bba265a removed Matter.Metrics from release builds (now dev only) 2015-01-25 12:06:55 +00:00
liabru
0583cdbd90 added Render.create warning for omitted element 2015-01-21 00:11:10 +00:00
PlNG
61855ab875 Missing argument whose default is 1. 2015-01-20 11:53:03 -05:00
PlNG
940976acbb Spellchecking 2015-01-20 11:07:23 -05: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
5888ffcaf6 cleanup 2015-01-01 17:52:18 +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
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
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
fb5d899086 removed engine.input, removed Engine mouse events, added MouseConstraint mouse events 2014-06-21 17:44:25 +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