Part IV. Physics Engines

With the Box2D and Chipmunk physics engines that come with Cocos2D, you can add some amazing effects to your games, such as gravity, realistic collisions, and even ragdoll effects. In these chapters you get a chance to add some physics-based levels to Space Viking, from simple to advanced.

Chapter 10: “Basic Game Physics: Adding Realism with Box2D”

Chapter 11: “Intermediate Game Physics: Modeling, Racing, and Leaping”

Chapter 12: “Advanced Game Physics: Even Better than the Real Thing”

Chapter 13: “The Chipmunk Physics Engine (No Alvin Required)”

Get Learning Cocos2D: A Hands-On Guide to Building iOS Games with Cocos2D, Box2D, and Chipmunk now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.