Building Android Games with Cocos2d-x
- Length: 147 pages
- Edition: 1
- Language: English
- Publisher: Packt Publishing
- Publication Date: 2015-03-27
- ISBN-10: 1785283839
- ISBN-13: 9781785283833
- Sales Rank: #1197345 (See Top 100 Books)
Learn to create engaging and spectacular games for Android using Cocos2d-x
About This Book
- Create fun physics games to rival the bestselling games on Google Play
- Save time by creating your Android games using this integrated framework
- Learn to create a simple game using step-by-step instructions provided throughout the book
Who This Book Is For
If you have a basic understanding of the C++ programming language and want to create videogames for the Android platform, then this technology and book is ideal for you.
In Detail
Cocos2d-x is a multi-platform C++ gaming framework in active development maintained by Chukong technologies. It wraps all the essential elements needed for creating a game, making the task of game building very developer-friendly.
Starting with a vital primer to get you up and running with your development environment, you will quickly dive in to exploring the latest version of this framework. You will understand major framework improvements to render objects at lightning speed, extend and maintain code easily, and improve the label API to add great functionality such as glow, shadows, and outlines to labels.
Through the creation of a real game, you will explore the core components of development including Physics, enabling you to create realistic sprite movements, and particle systems to dynamically simulate explosions, fire, rain, and smoke, as well as exploring the sound engine to make your game more robust. Finish by integrating Cocos2d-x C++ code with native Android code to launch games with the classic Java Android application.
Table of Contents
Chapter 1: Setting up your Development Environment
Chapter 2: Graphics
Chapter 3: Understanding Game Physics
Chapter 4: User Input
Chapter 5: Handling Text and Fonts
Chapter 6: Audio
Chapter 7: Creating Particle Systems
Chapter 8: Adding Native Java Code