Discuss issues specific the Javascript port of Box2D
Posts: 52
Joined: Mon Jun 28, 2010 2:33 am


Postby blofeld » Sat May 14, 2011 12:58 am


anyone have an idea, how to skin the shapes in canvas/javascript?


Posts: 2
Joined: Wed Mar 30, 2011 8:26 am

Re: skinning?

Postby Uli » Tue Jun 07, 2011 11:50 am

Box2D is a physics engine. The b2DebugDraw is only available for debugging purposes. You have to write your own drawing code, if you want custom appearance.

Posts: 1
Joined: Sun Aug 28, 2011 11:37 pm

Re: skinning?

Postby sabiland » Mon Sep 05, 2011 5:52 am

Uli, is debugDraw kind of slow for some reasons ?

1) -> kind of random-twitchy animation (in all the browsers)
2) When I tried to do some my own stuff with Box2DWeb it also looks like sometimes (quite randomly) animation get twitchy (I've used only debugDraw so far)

OTOH - Box2DWeb is great JavaScript port. I really like it :D

Return to “Javascript”

Who is online

Users browsing this forum: No registered users and 1 guest