This project is read-only.

Anybody doing a Box2D declarations file?

Topics: General
Oct 13, 2012 at 6:55 PM

I just wondered if anybody was working on a Box2D declarations file?  

Or even better, a reconversion from the original C++ code to TypeScript.

Nov 21, 2012 at 2:21 AM
Edited Nov 21, 2012 at 2:21 AM

I recently started one here ->

It is considerably larger than I expected... might be a while still.

Mar 20, 2013 at 1:00 PM
First of all, thanks for taking the trouble of writing the TypeScript definition files. It must've been lots of work.

As an exercise I've ported a project of mine from JS to TypeScript but I run into a problem with box2dweb. My TypeScript compiles without any problems but when I run the code I get the following message: Uncaught ReferenceError: b2Dynamics is not defined.

I am not quite sure how to fix this and I was hoping you could give me some pointers.