Creating physics aware games using PyGame and PyODE


This paper is a tutorial on how to use a popular physics engine and tie it up to a simple 2D game. It is structured as a tutorial for creating a simple game that uses the engine and a graphics library. The graphics library being used will be PyGame (which are Python bindings for the popular SDL library originally developed by Loki Entertainment Software) and the physics engine being used will be PyODE (which are Python bindings for the Open Dynamics Engine). A few toy programs will be written and discussed to introduce the components and the bulk of the paper will be the development of a simple game. The game which will be developed is a clone of The incredible machine (which is a famous game published by Sierra Entertainment in 1992).

Full Text: