Okay, so I've been working on this for a while, and I'm finally ready to present version 1 of the documentation for Box2D 2.1.2.
Presenting: Box2Scene, the XML-based scene format for Box2D!
I'm hoping that all versions, including the C++ one, can implement this as a regular feature, so that we can have one standardized format that we can share levels between different languages with ease. I'm also working on a level editor, but first, let's focus on the format.
The format is an XML fragment, and is very simple; it defines shapes, fixturedefs, bodydefs, and jointdefs, which together make up an entire World.
The current specification is available here:
http://alteredsoftworks.com/box2d/Box2Scene.pdf
Current supporters and/or implementers of the format:
- Box2CS (my project)
- Farseer Physics Engine
Please not that Version 1 tailors to Box2D 2.1.2, the current working stable version. I don't expect that the C++ version will be modified to accompany Box2Scene, however, most ports are still using this, so we can get them started on it before 2.2.0 gets released (and hopefully has Box2Scene integrated in it).
-P
Presenting: Box2Scene, the XML-based scene format for Box2D!
I'm hoping that all versions, including the C++ one, can implement this as a regular feature, so that we can have one standardized format that we can share levels between different languages with ease. I'm also working on a level editor, but first, let's focus on the format.
The format is an XML fragment, and is very simple; it defines shapes, fixturedefs, bodydefs, and jointdefs, which together make up an entire World.
The current specification is available here:
http://alteredsoftworks.com/box2d/Box2Scene.pdf
Current supporters and/or implementers of the format:
- Box2CS (my project)
- Farseer Physics Engine
Please not that Version 1 tailors to Box2D 2.1.2, the current working stable version. I don't expect that the C++ version will be modified to accompany Box2Scene, however, most ports are still using this, so we can get them started on it before 2.2.0 gets released (and hopefully has Box2Scene integrated in it).
-P