Skip to Content
Introduction to Game Physics with Box2D
book

Introduction to Game Physics with Box2D

by Ian Parberry
September 2017
Beginner
275 pages
5h 42m
English
CRC Press
Content preview from Introduction to Game Physics with Box2D

6A Tale of Three Modules

Box2D has three modules, the Common Module, which contains some low-level code and data structures, the Collision Module, which contains code and data structures for collision detection and response, and the Dynamics Module, which contains code and data structures for the Physics World. The body of this chapter is divided into three sections, one per module. Section 6.1 will delve fairly deeply into the Common Module, since (in addition to its use throughout Box2D) it is a useful toolkit that can save you lots of programming time reinventing the wheel. Section 6.3 contains an introduction to the Collision Module at a deep enough level for you to get started writing a game. More details are available later in Chapter 8 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Introduction to Video Game Engine Development: Learn to Design, Implement, and Use a Cross-Platform 2D Game Engine

Introduction to Video Game Engine Development: Learn to Design, Implement, and Use a Cross-Platform 2D Game Engine

Victor G Brusca
Core Techniques and Algorithms in Game Programming

Core Techniques and Algorithms in Game Programming

Daniel Sánchez-Crespo Dalmau
Box2D for Flash Games

Box2D for Flash Games

Emanuele Feronato

Publisher Resources

ISBN: 9781466565777