Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Currently I'm doing some prototyping with physics in Python and I later plan to port the code over to C++.

Box2D has some features that I really like so I'd rather use that library instead. The problem is that the Python port of Box2D is pretty tedious to install and I'm lazy, :D while the Chipmunk port is very easy to install.

Is it hard for me to switch libraries later on when I port the code to C++? (Will I have to do big architectural changes?)

share|improve this question
If the goal of your prototype is to make some physics feel good, you should probably use the library you plan on shipping with. – Tetrad Sep 23 '11 at 17:23
up vote 5 down vote accepted

Physics is not like art or graphics or sound; it is a core part of your game. It is part of what makes people want to play your game.

If Box2D has "features that I really like" and Chipmunk does not have those features, then you cannot develop your game under Chipmunk. Unless those features in question are fluff or otherwise superfluous. If they are important to gameplay (constraints, rigid body dynamics, etc), then you will need to have them in your prototype before you can consider your prototype complete.

The problem is that the Python port of Box2D is pretty tedious to install and I'm lazy

If you truly are, as you say, "lazy", then perhaps game development is not the hobby for you. Game development requires work and effort. If taking a couple of hours to compile and install a Python module for a library is too much for you, then what are you going to do when you hit a real problem? When you can't figure out how to make the various objects interact correctly? When your AI seems to be doing the wrong thing and you can't figure out why?

That's no excuse for a difficult install process. But if you need this library, then you should be willing to expend some effort to getting access to it.

share|improve this answer
This is a good answer, with tips that related to real life game programming. Its firm and logical. +1! – liamzebedee Sep 24 '11 at 13:28

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.