Book Image

Mastering Cocos2d Game Development

By : Alex Ogorek
Book Image

Mastering Cocos2d Game Development

By: Alex Ogorek

Overview of this book

Table of Contents (15 chapters)
Mastering Cocos2d Game Development
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Summary


Throughout this chapter, you learned how to create a physics simulation, add bodies to the simulation, set the gravity of the world with the accelerometer, handle collisions, and even use the simulation for just collision detection.

When it comes to really complex physics engine mechanics, such as ropes, joints, and pivots, the Cocos2d documentation at http://www.cocos2d-swift.org/docs/api/index.html explains a lot. At the time of writing this book, there are very few (if any) tutorials on such complex mechanics available.

In the next chapter, you'll learn about sound in Cocos2d and some of the cool things you can do to sound effects within the engine.