Box2D for the DS
As you know, physics is the new 3D. So why not just ditch the 3D for the good old 2D? 2D was much cooler anyways, and a lot of games that were fun in 2D became quite annoying in 3D.
This is where Box2D comes in. It’s a very easy to use 2D physics library with a growing set of features. Box2D got a lot of attention from the game Crayon Physics that showed the potential of the library. Unfortunately, it is not perfect for the DS, because it uses floating point math, which the DS’s CPUs don’t support. So, I decided to create a DS port with fixed point math. Check it out, it’s really easy and a lot of fun!
Update:
The fixed point and Nintendo DS patches are now part of the official Box2D SVN! If you want to use Box2D on the DS, just check out the latest version from SVN. Also, check out my DS physics toy Pocket Physics.
December 23rd, 2007 at 11:05 am
Does this mean sometime we might see a port of Crayon Physics for the DS? That would be amazing! Ever since I saw it the first time I immediately thought how awesome a DS port would be, and I’m sure a lot of other people did too.
December 23rd, 2007 at 1:22 pm
I have been looking for a 2D collision/physics library for long. And now, you make me discover one, and you even ported it to DS. :D
Thanks a lot 0xtob !
December 25th, 2007 at 8:41 pm
YO! There IS a crayon physics port for the DS!!! just google POCKET PHYSICS and click on he first link!!! w00t!!!!!
December 29th, 2007 at 6:22 pm
im quite new at DS coding and im stuck on how to use this library, please help!
January 9th, 2008 at 2:54 pm
Ibrahim: Might be, but I’m not planning to implement levels in Pocket Physics, so someone interested in having Crayon Physics DS should do that himself (it’s going to be open source).
Jay: It’d probably be best if you mailed me what specific problem you have and I’ll be glad to help.