Yessir.
The reason shapes and fixtures are not inside of the bodies is so they can be re-used between Bodies and Fixtures.
I had actually not known you had done something like this before; I know someone did something for Farseer, but that was all I knew about.
This specification probably won't get anywhere until it reaches out to 2.2.0, so there's still room to change things around before anyone ever actually uses it. If you think changes should be made, drop me some sort of message describing exactly what should be changed and how - something like what would happen in a real standards committee. Not like it matters, but it seems to get things done faster this way. I appreciate the criticism and would like this format to be as modular and open as possible.
The format was designed to be as simplistic, modular and human-readable as possible. As long as implementers follow the implementation notes, everything should be peachy (or they can just port over the mini-XML parser I wrote for Box2Scene). In reality, yes, it is "XML", but I'm not pushing that people require a valid XML parser to do this format. It is its' own format based on the syntax of XML.
mayo: the level editor will fully support making entire worlds. It's written in C#, but you could easily write a Box2Scene-to-C++ converter that generates BodyDef/FixtureDef/Shape/JointDef code based on the contents.
EDIT: Thinking about exactly how this may be used, the reason I wanted it in the core is because then people using the C++ one (or ports for that matter) could just use the functions without having to do anything extra. However, now that I think about it, C++ users would just need to copy the files to their folder and include them in the project. Not sure about porters yet, though, that would be a different story.
-P
The reason shapes and fixtures are not inside of the bodies is so they can be re-used between Bodies and Fixtures.
I had actually not known you had done something like this before; I know someone did something for Farseer, but that was all I knew about.
This specification probably won't get anywhere until it reaches out to 2.2.0, so there's still room to change things around before anyone ever actually uses it. If you think changes should be made, drop me some sort of message describing exactly what should be changed and how - something like what would happen in a real standards committee. Not like it matters, but it seems to get things done faster this way. I appreciate the criticism and would like this format to be as modular and open as possible.
The format was designed to be as simplistic, modular and human-readable as possible. As long as implementers follow the implementation notes, everything should be peachy (or they can just port over the mini-XML parser I wrote for Box2Scene). In reality, yes, it is "XML", but I'm not pushing that people require a valid XML parser to do this format. It is its' own format based on the syntax of XML.
mayo: the level editor will fully support making entire worlds. It's written in C#, but you could easily write a Box2Scene-to-C++ converter that generates BodyDef/FixtureDef/Shape/JointDef code based on the contents.
EDIT: Thinking about exactly how this may be used, the reason I wanted it in the core is because then people using the C++ one (or ports for that matter) could just use the functions without having to do anything extra. However, now that I think about it, C++ users would just need to copy the files to their folder and include them in the project. Not sure about porters yet, though, that would be a different story.
-P