xml "world" loader and mini framework - initial release

I have decided to release this code in the hope it is useful to others and that it will stimulate others to work with me to make in more complete.

You should read and understand the simple (BSD based) licence before using or contributing code.

I want to separate the framework from the xml loader at some point

Currently there are two xml "worlds" included.
a "box2dWorld" has different properties like gravity x&y and world minimum and maximum coordinates.

only the revolute joint is covered but this is very flexible and can be used as a motor in the xml world

each "body" can have multiple shapes including triangle, hexagon, circle and box
There are 2 fixed textures but I plan to make multiple textures available as "world" properties

Despite its rudimentary nature complex world can be created already
http://www.youtube.com/watch?v=dkmkcmivEBg
http://www.youtube.com/watch?v=F_vXwkVzvdM
http://www.youtube.com/watch?v=gT-YqyukIeY

Enjoy
here's a codeblocks project file for windows users unsure of makefiles...

it relies on pkg-config and assumes that the svn version (of box2d) is in ../box2d

I should however be an easy starting point...
Switching from numeric identifiers to name strings would make the system much more user-friendly. You could still allocate unique identifiers internally, of course.
I'm not exactly sure what you mean by that, but I look forward to seeing your contribution...
I have to agree with kdmiller.
Trying to remember which id represents what is harder for the average human than it might be to instead be able to call a body "crate", or "wheel", which makes adding joints a case of defining body1 as "wheel", body2 as "chassis", etc.

Makes it less likely for the situation as described in the xml "the end user must take care not to use bodies with the same ID" to occur.
Oh I see what you mean now, sure add it !

Original thread: https://box2d.org/forum/viewtopic.php?t=1377