liabru / matter-js

a 2D rigid body physics engine for the web ▲● ■
MIT License
16.86k stars 1.97k forks source link

Readme instructions not working #371

Closed imvetri closed 7 years ago

imvetri commented 7 years ago

I tried following the steps mentioned in the readme file for trying out matterJS. I used the same code in codepen but im not seeing any boxes falling.

I can find a canvas inside document.body from developer tools, but it is not visible in the page. (probably because of no filled colors)

I was hoping this information could be put in readme so that it can benefit other new comers.

Here is the link to the codepen http://codepen.io/iminui/pen/pevWOM

liabru commented 7 years ago

Change this line:

//run render
Engine.run(render);

to:

//run render
Render.run(render);
imvetri commented 7 years ago

Oh. Okay Thanks. Is there any other discussion forum for matterjs ?

liabru commented 7 years ago

Only here and stack overflow mostly, but maybe I should open a slack or gitter channel.

imvetri commented 7 years ago

@liabru could you please share official stackoverflow channel so that in future I will get my questions clarified there instead of issues page. This seems more appropriate.

liabru commented 7 years ago

Sorry but there is no official SA channel but you can see what people are posting here, I think you can just make a post directly on SA and tag it with javascript etc.