Author   Back to "Introduction to Game Physics with Box2D"   More Books

Source Code for Intro to Game Physics with Box2D

thumbnail thumbnail thumbnail thumbnail

This source code accompanies Ian Parberry's Introduction to Game Physics with Box2D, AK Peters Publishers. To make proper use of it you must have Microsoft Visual Studio 2012 and the DirectX 9 SDK properly installed on your computer.

Source Code Downloads

The following zip files contain the source code and project files for Visual Studio 2012. If you want everything, use the first link. If that fails for some reason (such as your ISP limiting your download size), use the chapter-by-chapter links following. In order to use this code you must purchase and install Visual Studio 2012, and download and install the free DirectX SDK, June 2010 from Microsoft.

Complete: All Source Code (73.5MB)
Chapter 3: Pool End Game (13.6MB)
Chapter 4: Ball and Spring Toy (13.4MB)
Chapter 5: Box2D Getting Started (14.9MB)
Chapter 7: Cannon Game (15.6MB)
Chapter 8: Cannon Game with Stars (15.8MB)

Documentation

The following documentation was generated from the source code using Doxygen.

Chapter 3: Pool End Game
Chapter 4: Ball and Spring Toy
Chapter 5: Box2D Getting Started
Chapter 7: Cannon Game
Chapter 8: Cannon Game with Stars
For Advanced Readers: Game Engine

Old Source Code Downloads

If you are still using Visual Studio 2010 and are incapable of making new solution and project files from scratch, here are links to the old versions of the downloads. I am no longer keeping these up-to-date, so Caveat Emptor!

Complete: All Source Code (70.3MB)
Chapter 3: Pool End Game (13.1MB)
Chapter 4: Ball and Spring Toy (13.0MB)
Chapter 5: Box2D Getting Started (14.7MB)
Chapter 7: Cannon Game (15.1MB)
Chapter 8: Cannon Game with Stars (15.1MB)

Created September 14, 2012. Written in HTML 4.01 and CSS 3 using vi. Last updated October 9, 2013.

Valid HTML 4.01 Strict Valid CSS!