p2.js icon indicating copy to clipboard operation
p2.js copied to clipboard

No tutorial for beginners

Open ed588 opened this issue 8 years ago • 1 comments

The only tutorial for beginners is the wiki, which doesn't cover showing the objects on the screen. I would write more but i have to go.

ed588 avatar Feb 27 '17 13:02 ed588

p2.js is a physics engine. It is not meant to show objects on the screen.

The simpliest way I can think of is just to draw dots or circles on a html canvas, where each dot represents your object and is drawn in coordinates supplied by p2 engine. This is not that hard actually.

Scharnvirk avatar Mar 17 '17 23:03 Scharnvirk