R.u.b.e Box2d Editor

Posted on by
Rube Box2d Editor

After I ship this game, I'd be interested in talking with you two in particular about collaborating. We should be able to add the ability to sync with the editor from. Free or Open Source R. That's right, all the lists of alternatives are crowd- sourced, and that's what makes the data powerful and relevant. R.U.B.E stands for Really Useful Box2D Editor. R.U.B.E can create any physics scene that Box2D itself can. See the Box2D Plugin Page for More Details. B2dJson - Utilities to load scenes created by the R.U.B.E Box2D editor.

I've been doing some work with and find it suitable for the HTML5 canvas based physics simulations that I need. However, the editing program I've previously used () doesn't have a JS Box2D importer and is missing features like joint editing that I'd like to have. The other tools I've checked out have varying levels of Box2D feature support, and only one seems to have a JS importer written.

R.U.B.E (supports joints and has JS importer) Physics Body Editor (open source) TS4's editor (online, free, c++ export format) Physics Editor(no joints, no JS loader) Does anyone have experience with any of these? Any other editors I should consider? Unless there is some great reason to buy one I'll likely go with Physics Body Editor since I can fork the code and add any features I need. I'll likely be writing an importer unless there's one I don't know of, I'll be sure to share that once it's suitable for use. My usage is quite a bit different, but I've tried a lot of these in the past.

My goal with them is usually to define the shape for an object in places where a rectangle or circle isn't good enough. It isn't the best or easiest tool, but I've had the some luck with the one. Flexi 7.5 Software. The UI is a little odd, but it isn't too difficult to load in an image, trace a path around it, and export the new shape data. I never use their generated code. Instead, I just take their coordinate data and throw it into a list of polygonVertices. I actually tried RUBE.

It looks pretty good, and the UI feels nice. Unfortunately, I found the Linux version to be frustratingly glitchy, and so I gave up. It does have a real nice list of features though and only cost $30, so it could be worth considering. After writing the above message the RUBE developer contacted me to ask for more details. Schoolboy Q M4a more. He said that he develops on Linux, and so was surprised that there were problems. I wrote him a couple notes of what I could remember about past issues.

I also retried RUBE, and found it to be glitch-free. I don't know if anything changed with RUBE. It could also be that I was on an old Debian install last time, and this time I was on a recent Ubuntu install. Here are a few notes from my experiments today. The UI feels slightly odd at first with all the various modes and shortcuts for different actions, but the contextual help makes it easy to learn quickly.

Without too much effort I was able to build a scene involving several objects, a polygon shape built around an image, and some modifications to Box2D object properties. Once I got the keys down it was very fast to work with. I guess whether RUBE is the right choice depends on your needs. If you need to build and test scenes with lots of physics, I can see RUBE being very helpful. There is a box2dweb loader, and even without that the JSON format looks clean. Of the full-scene editors, it seems to be the best. Other tools like Physics Body Editor and PhysicsEditor are good for setting up the collision map for a body, but not as oriented around putting together complete scenes.

Each of those (I believe) can auto-trace images to create the collision map, but I'm not sure if RUBE does that. TS4 is fine for very simple things, but overall is pretty rough. I've made lots of use of TS4, mostly out of convenience since it is web based and simple. My usage and knowledge of RUBE is mostly limited to a little bit of playing around, but I like what I'm seeing. I'd recommend trying out the demo and coming to your own conclusions.

I'd highly recommend R.U.B.E. I played around with it along with Box2DWeb and CreateJS to create this which didn't really go anywhere but I had fun working on it at the time; learned a lot about skinning characters, creating a camera and listening to collisions. Is excellent for setting up a scene which exports as json.

I know that Chris Cambell, the developer behind R.U.B.E., is keen on working with HTML5 game developers and has gone to some great length making it easy to get started including writing that json exporter and other javascript files which load the json and recreate the phsyics world in your game. For me, it was $30 well spent and as dhaber pointed out, Chris is approachable and open to questions about his fine product.