liabru
2dc7a0bf5e
Merge branch 'pr/440'
...
* pr/440:
Do not warn on missing render.element if the canvas is already parented (because it was passed in at construction).
2017-11-25 17:31:58 +00:00
Andrew n marshall
a529ec9dcd
Do not warn on missing render.element if the canvas is already parented (because it was passed in at construction).
2017-07-02 20:25:34 -07:00
liabru
837c43bdb5
improved spring and pin rendering
2017-06-28 00:20:36 +01:00
liabru
0952516e57
added constraint.render.type and constraint.render.anchor
2017-06-26 23:20:34 +01:00
liabru
719ad649fe
changed default render styles
2017-01-19 23:36:19 +00:00
liabru
1a40f2754c
improved demo and examples
2017-01-16 23:47:39 +00:00
liabru
c8e5d5c3b0
added Render.startViewTransform and Render.endViewTransform
2017-01-16 23:47:39 +00:00
liabru
47443b3362
added Render.lookAt
2017-01-16 23:47:39 +00:00
Liam
68382d62c3
Merge pull request #315 from codeclown/patch-1
...
fix issue when render.lineWidth = 0, closes #220
2017-01-15 15:16:25 +00:00
liabru
dd83386e0f
fix Render.grid
2016-11-28 00:42:56 +00:00
Martti Laine
74de894ed9
Fixes #220
2016-11-12 13:31:50 +02:00
liabru
d4d64edaa1
improved logging
2016-08-04 00:14:10 +01:00
liabru
ba1913068f
Merge branch 'master' of https://github.com/jackismissing/matter-js into jackismissing-master
...
# Conflicts:
# src/render/RenderPixi.js
2016-06-25 18:42:40 +01:00
liabru
4972af847e
fixed issue with Matter.RenderPixi not being cleared when bodies removed, closes #218
2016-06-25 18:23:12 +01:00
liabru
f59e2202ad
fix tests
2016-04-28 22:20:07 +01:00
liabru
e8c899aeec
deprecated Matter.RenderPixi
2016-04-26 21:32:14 +01:00
liabru
a6b97cd4e3
deprecated Matter.RenderPixi
2016-04-26 21:17:00 +01:00
liabru
72f90b99dd
decouple Matter.RenderPixi
2016-04-26 20:48:13 +01:00
liabru
de823ebb08
decouple Matter.Render from Matter.Engine
2016-04-26 20:18:44 +01:00
Nicolas Garnier
aec19aecbb
RenderPixi.js - added missing dependencies
...
Bounds and Vector were missing from the requires
2016-04-25 12:40:47 +02:00
Liam
1944f6a34c
Merge pull request #224 from brollb/223-bounds-ignored-in-renderer
...
Updated `hasBounds` default value. Fixes #223
2016-04-05 23:22:06 +01:00
Brian Broll
053ea76bc6
Updated hasBounds
default value. Fixes #223
...
WIP #223 changed 'render' to 'options'
2016-04-05 14:54:26 -05:00
liabru
b4e875bf55
fix lint issue
2016-02-07 15:49:09 +00:00
liabru
dbdabcca65
allow passing of pixi objects to Matter.RenderPixi at creation, closes #193
2016-02-07 15:47:23 +00:00
liabru
99dd6c518a
fixed rendering of compound bodies
2016-02-07 15:25:38 +00:00
liabru
aaffee3b72
fixed rendering of angle indicators
2016-02-07 15:24:58 +00:00
liabru
8ac06b227a
fixes to body opacity rendering
2016-02-07 15:23:58 +00:00
MatteoAvalle
5b755a1a62
Adding the opacity attribute to be able to draw semi-transarent sprites
...
Just a really simple commit adding a tiny feature I think it could be useful
while, at the same time, it seems even too tiny to specifically build a
custom render just to include it.
2016-02-05 11:24:58 +01:00
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