Build a plethora of games for various genres using one of the most powerful game engines, Cocos2d-x
Packed with comprehensive projects, this book takes a detailed look at a few of the industry's most popular games. This book will show you how to use Cocos2d-x to build games using its core components. You will learn how to incorporate game physics, and import custom models and animations. Next, you will see how to include effects such as particles and sounds. With a brief introduction to the upcoming HTML5 platform using Cocos2d-html5, the book goes on to tackle the many different concepts that comprise game development today. You will learn how to build worlds with meshes, a terrain, user interaction, physics, and more. You will start by developing a puzzle game, and then progress on to games that are increasingly complex. Along the way, you'll learn how to build gaming favorites similar to games such as Flappy Bird, Tilt to Live, Jumpy Clown, Angry Birds, and Tower Defense.
What You Will Learn
Take advantage of the open source nature of Cocos2d-x by extending the engine to customize and add your own features to it
Design games with level-based and time-based difficulty progression, which are very addictive and keeps users engaged
Maximize user interaction by implementing intuitive gestures and tilt controls
Implement advanced physics engine features such as PreSolve and PostSolve events
Add realism to your game by using a touch event, and use it to control a game
Implement circle-to-circle collision detection in your games
Build the same project on multiple platforms, such as Android and Windows, effortlessly
Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.