Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
In this chapter we created a basic framework for a physics game. Various custom collision objects were created such as the player's ball and the target cube that is to be destroyed. Sound effects were added in where appropriate. A level consisting of stacks of different heights of crates topped with target cubes was created. The final product was a basic playable physics game that the reader can use as a base to build his own physics games from. The last few chapters of this book will concentrate on creating basic game frameworks such as this one.