Book Image

Learning Cocos2d-x Game Development

By : Siddharth Shekar
Book Image

Learning Cocos2d-x Game Development

By: Siddharth Shekar

Overview of this book

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

Running on an iOS simulator using Xcode


To bring the project onto Mac, you can simply copy the whole Cocos2d-x-2.2.3 folder from your Windows machine and paste it anywhere on the Mac machine and that's all. There are no additional steps required.

If you would like to know how to create the project on Mac, open up the terminal and navigate to Cococs2d-x-2.2.3/tools/project-creator and type the command we typed to create the project in Windows; but here you don't have to type python first:

To run the game on Xcode on Mac, you will have to first install Xcode on your machine if you haven't already done so. You can click on the store, search for Xcode, and start downloading it, as shown in the following screenshot. Any version of Xcode is fine if you are running on the simulator. If you have a device, then you will have to pay $100 and create a developer account to test your game on the device.

Once you have installed Xcode, you can open up the wp8Game.xcodeproj file in the proj.ios folder under...