After a year of writing and development I am proud to say that Cocos2d for iPhone 1 Game Development Cookbook is now in print!
This book is designed to be the ultimate 2D game development book. It includes the full code of over 100 recipes built using XCode 4 and iOS 5. Every major area of game development is covered.
Recipes are designed to be modular. Get the book, download the code and plug them into your project.
The book uses Box2D for anything requiring physics. Chapter 4: Physics includes the following recipes:
- Box2D setup and debug drawing
- Creating collision response routines
- Using different shapes
- Dragging and collision filtering
- Manipulating physical properties
- Applying impulses
- Applying forces
- Asynchronous body destruction
- Using joints
- Creating a vehicle
- Character movement
- Simulating bullets
- Simulating and rendering a rope
- Creating a top-down isometric game engine
Go to the book website at http://cocos2dcookbook.com/ and you can download the first chapter (17 recipes) for free (PDF + XCode project).
You can also explore the entire book, watch videos explaining each recipe and download free apps to test the recipe demos on your device.
You can purchase the book on Amazon or from Packt Publishing:
If you have any questions you can send me an email at email@example.com.
I would like to thank everyone who has contributed to box2d and cocos2d-iphone. Without such great frameworks and communities to support them I wouldn't have the opportunity to write this book.