Cocos2d Game Development Blueprints
Design, develop, and create your own successful iOS games using the Cocos2d game engine
About This Book
- Enhance your game development skills by building different types of iOS games in Cocos2d
- Create games of many different genres using the powerful features of the Cocos2d framework
- A step-by-step guide with techniques to discover the potential of Cocos2d Game Engine with interesting projects
Who This Book Is For
Whether you are a passionate gamer, like developing, or are just curious about game development, this book is for you. The book has been written to teach 2D game development to app developers and to teach Objective-C to game developers, as learning Cocos2d is the perfect step for both roles.
What You Will Learn
- Load and control sprites, labels, sounds, and geometrical primitives efficiently to build the core of a game
- Simulate movement by implementing the parallax effect and running animations
- Implement turn-based game logic including Game Center
- Create both iPad-only and universal versions of your games
- Control your game using touches, an accelerometer, or a virtual game pad
- Build menus and tutorials and define some artificial intelligence to non-played characters
Cocos2d is one of the most popular 2D game engines for the iOS platform. It is packed with powerful features that set it apart from other game engines. It can be used to build games, apps, and other cross-platform GUI-based interactive programs.
This practical guide will develop your skills in designing and developing iOS games across several genres. You will start with managing collisions through building a horizontal scroll game for both iPhone and iPad, you will then go through building a shooting game. After that, you will learn how to use the accelerometer to control movement, load particle systems such as explosions, draw primitives, and create parallax effects. We also cover essential elements of the Cocos2d package including sprite sheets, multiple image file loading to animate a sprite, building physics behavior with Chipmunk, using filters and listeners, and providing powerful AI, non-playable characters, and pathfinder algorithms with a cool tower defence game.