16. Performance Optimizations

Throughout this book, you learned how to create a game using Cocos2D, Box2D, and Chipmunk. You learned the basics of Cocos2D and advanced concepts from scrolling to physics engines to particle systems. This chapter takes you through some of the optimizations tips and tricks you may need in bringing that last bit of polish to your game now that you have a foundation of knowledge in Cocos2D game development.

In this chapter you learn how to tackle some of the common challenges and issues you will face in optimizing and getting the most of your Cocos2D game. This chapter uses a test bed sample game called PerformanceTestGame, which is included with the resources of this chapter.

CCSprite versus CCSpriteBatchNode

In ...

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.