I would like to announce the completion of a new Box2D port to C# called "Box2D.XNA".
The port is synced with revision r228 against the 'new/active' core engine (branches/refactor_2.0.2/Box2D/Box2D).
Reasons for doing a fresh port:
1) most C# games are for XNA Game Studio so we wanted to use the native XNA math where possible (mostly Vector2/Color).
2) performance of the other ports was frankly unusable on the XBox360. Box2D.XNA is specifically designed for the xbox 360. We've minimized allocations, inlined hot paths, etc. It's much faster than a naive line-for-line port already, but we're still looking at some improvements (like multicore support).
3) Complete test framework. We have all the core tests running/passing on both windows & xbox360. They run against XNA GS, so you dont need other dependencies like OpenGL & they work without modification on the xbox360.
4) Timely porting of revisions. We plan to keep this port in sync with the latest revision (goal is < 1 week turn around).
5) We want to make this port more "C#ish". Right now it's very close to the C++ version. In stucture this will continue, but we plan on using .NET naming conventions & Properties instead of Get*() methods, for example.
We would like to work with erincatto and/or whoever else maintains Box2D to get Box2D.XNA inside the Box2D SourceForge Repository. If we can't make this happen shortly I'll come back and post a link to a Zip for those that want an early look.
-Brandon Furtwangler & Nathan Furtwangler
The port is synced with revision r228 against the 'new/active' core engine (branches/refactor_2.0.2/Box2D/Box2D).
Reasons for doing a fresh port:
1) most C# games are for XNA Game Studio so we wanted to use the native XNA math where possible (mostly Vector2/Color).
2) performance of the other ports was frankly unusable on the XBox360. Box2D.XNA is specifically designed for the xbox 360. We've minimized allocations, inlined hot paths, etc. It's much faster than a naive line-for-line port already, but we're still looking at some improvements (like multicore support).
3) Complete test framework. We have all the core tests running/passing on both windows & xbox360. They run against XNA GS, so you dont need other dependencies like OpenGL & they work without modification on the xbox360.
4) Timely porting of revisions. We plan to keep this port in sync with the latest revision (goal is < 1 week turn around).
5) We want to make this port more "C#ish". Right now it's very close to the C++ version. In stucture this will continue, but we plan on using .NET naming conventions & Properties instead of Get*() methods, for example.
We would like to work with erincatto and/or whoever else maintains Box2D to get Box2D.XNA inside the Box2D SourceForge Repository. If we can't make this happen shortly I'll come back and post a link to a Zip for those that want an early look.
-Brandon Furtwangler & Nathan Furtwangler