Chipmunk Physics or Box2D for C++ 2D GameEngine ?
- by Mr.Gando
Hello,
I'm developing what it's turning into a "cross-platform" 2D Game Engine, my initial platform target is iPhone OS, but could move on to Android or even some console like the PSP, or Nintendo DS, I want to keep my options open.
My engine is developed in C++, and have been reading a lot about Box2D and Chipmunk but still I can't decide which one to use as my Physics Middleware.
Chipmunk appears to have been made to be embedded easily, and Box2D seems to be widely used.
Chipmunk is C , and Box2D is C++, but I've heard the API's of Box2D are much worse than chipmunk's API's.
For now I will be using the engine shape creation and collision detection features for irregular polygons (not concave).
I value:
1) Good API's
2) Easy to integrate.
3) Portability.
And of course if you notice anything else, I would love to hear it.
Which one do you think that would fit my needs better ?