Emscripten Box2D and Rube
Posted: Wed Apr 10, 2013 10:02 am
Hi iForce,
I have just seen you have been contributing to the Emscripten version of box2d (https://github.com/kripken/box2d.js), I have see your tests: http://www.iforce2d.net/embox2d/testbed.html and wondered what you though of its performance over box2dweb.
Obviously this would not be the only advantage, as you have mentioned it would be easier to keep up with the C++ version.
Also do you have an implementation using the Rube export. I have tried editing your "loadrube.js" (which works great for box2dweb) but it seems like a lot of the method names have changed.
I am also interested in testing it on different devices, so far with box2dweb, I have found there is a bug that prevents it working on ios (can be fixed with simple hack) but also on other devices, Kindle Fire's and some androids.
Thanks,
Adam
I have just seen you have been contributing to the Emscripten version of box2d (https://github.com/kripken/box2d.js), I have see your tests: http://www.iforce2d.net/embox2d/testbed.html and wondered what you though of its performance over box2dweb.
Obviously this would not be the only advantage, as you have mentioned it would be easier to keep up with the C++ version.
Also do you have an implementation using the Rube export. I have tried editing your "loadrube.js" (which works great for box2dweb) but it seems like a lot of the method names have changed.
I am also interested in testing it on different devices, so far with box2dweb, I have found there is a bug that prevents it working on ios (can be fixed with simple hack) but also on other devices, Kindle Fire's and some androids.
Thanks,
Adam