Skip to Main Content
Learn cocos2D Game Development with iOS 5
book

Learn cocos2D Game Development with iOS 5

by Steffen Itterheim, Andreas Löw
November 2011
Beginner content levelBeginner
532 pages
15h
English
Apress
Content preview from Learn cocos2D Game Development with iOS 5

Chapter 12

Physics Engines

Physics engines are what drive popular iOS games like Angry Birds, Stick Golf, Jelly Car, and Stair Dismount. They allow you to create a world that feels more dynamic and lifelike.

Cocos2d is distributed with two physics engines: Box2D and Chipmunk. Both are designed to work only in two dimensions, so they're a perfect fit for cocos2d.

In this chapter, you'll learn the basics of both physics engines, and along the way you'll probably come to appreciate one more than the other. I'll briefly explain the differences between the two physics engines, but for the most part it's a choice based on personal preference.

If you've never worked with a physics engine before, I'll also give you a quick introduction to their basic ...

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

Learning Cocos2D: A Hands-On Guide to Building iOS Games with Cocos2D, Box2D, and Chipmunk

Learning Cocos2D: A Hands-On Guide to Building iOS Games with Cocos2D, Box2D, and Chipmunk

Rod Strougo, Ray Wenderlich

Publisher Resources

ISBN: 9781430238133Purchase book