Cocos2D is incredibly fun and easy to use. In this chapter you will learn how to install Cocos2D, integrate it with Xcode, and make a simple HelloWorld app. You’ll then add a space cargo ship to the app and have it move around the screen, with just a few lines of code, as shown in Figure 1.1.
Figure 1.1. The space cargo ship that you will add to your HelloWorld app
After you create this simple app, you will get a chance to go behind the scenes and see how the Cocos2D template code generated for you works and try running the app on your own iPhone or iPad.
It is assumed you have already signed up for Apple’s iPhone Developer ...