Book Image

Cocos2d-X Game Development Blueprints

By : Karan Sequeira
Book Image

Cocos2d-X Game Development Blueprints

By: Karan Sequeira

Overview of this book

Table of Contents (17 chapters)
Cocos2d-x Game Development Blueprints
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Running Pumpkin Defense on Android


Now that we have a device set up, we can run Pumpkin Defense on it and realize how easy it is to port an existing Cocos2d-x game to Android. Without further ado, right-click on the pumpkindefense project in Package Explorer, select Run As, and select Android Application. It might take a bit more time to start running on an emulator as compared to an actual device, but ultimately you will have something like this:

With that, we have managed to set the Android environment to work with Cocos2d-x and run one of our games on an AVD. It's time to move on to the next section, which involves setting up and building for Windows Phone 8.