Box2D Getting Started
Chapter 5 of Ian Parberry's "Introduction to Game Physics with Box2D"
 All Classes Files Functions Variables Enumerations Pages
Box2D Getting Started

This code was written by Ian Parberry to accompany his book "Introduction to Game Physics with Box2D", published by CRC Press in 2013.

This is a simple toy that helps you get started quickly with Box2D. The next 3 chapters will drill down into Box2D more deeply, so don't be concerned if you don't fully understand all of the code here.

Each time you hit the space bar a new ball or book will fall out of the sky. Hold the space bar down for autorepeat.