JSBox2D Support

General discussion about the R.U.B.E editor
Post Reply
Paril101
Posts: 3
Joined: Sat Dec 14, 2013 12:48 pm

JSBox2D Support

Post by Paril101 »

Hey there.

I'm the maintainer of JSBox2D, a new JS port of Box2D that is up to date with the Box2D trunk. It is located at https://code.google.com/p/jsbox2d/ - you can find the release downloads, testbed, etc there.

I'm interested in adding support for R.U.B.E. world loading in there, as well as creating a bit more widespread support/exposure for JSBox2D. I was fairly disappointed at the lack of updates for the other myriad of Box2D ports, so I figured I'd go ahead and make one myself.

Since it's more up-to-date than box2dweb, it would be very cool if we'd be able to update your Javascript Demos widget on the site as well. R.U.B.E. is excellent, and we definitely want to help bring the power with the newer versions of Box2D in the JS world :)

Thanks,
-P
iforce2d
Site Admin
Posts: 861
Joined: Sat Dec 22, 2012 7:20 pm

Re: JSBox2D Support

Post by iforce2d »

Hi Paril

Yes I noticed that, it's really good to see an up-to-date version for Javascript. It would certainly be great to have a RUBE loader that uses it too. I'll be a bit busy to help much with coding a loader in the next couple of months, but if you start on anything I will be happy to help with any questions you might have.
Paril101
Posts: 3
Joined: Sat Dec 14, 2013 12:48 pm

Re: JSBox2D Support

Post by Paril101 »

I can handle the loader; I already have our own world JSON serialization done on my end, using a similar system for R.U.B.E. shouldn't be too difficult.

-P
Paril101
Posts: 3
Joined: Sat Dec 14, 2013 12:48 pm

Re: JSBox2D Support

Post by Paril101 »

https://code.google.com/p/jsbox2d/sourc ... em/RUBE.js

I think it's done. Nice and small! I don't store the images yet, will return them in the "params".
Post Reply