Book Image

Building Android Games with Cocos2d-x

By : Raydelto Hernandez
Book Image

Building Android Games with Cocos2d-x

By: Raydelto Hernandez

Overview of this book

Table of Contents (16 chapters)
Building Android Games with Cocos2d-x
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Summary


In this chapter, we allowed the user to control our game by using two different input mechanisms, that is, touching the screen and moving the phone around in order to use the accelerometer sensor; we have also made our game stop whenever the back button is pressed.

In the next chapter, we will cover the different ways of adding text to our games.