Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 4: Your First Game > Step-by-Step Project Setup

Step-by-Step Project Setup

Fire up Xcode now, and I’ll walk you through the steps to create your first cocos2d game. In Xcode, select File images New images New Project… and choose the cocos2d Application template, as shown in Figure 4–2. When asked to enter a name for the new project, enter DoodleDrop and, if necessary, find a suitable location to save the project. Xcode will automatically create a subfolder named DoodleDrop, so you don’t have to create that folder.

images

Figure 4–2. Create the project from the cocos2d Application template.

Xcode should present you with a project view similar to the one in Figure 4–3. Depending on the versions of cocos2d and Xcode you’re using, there may be more files, or the names of the groups may be slightly different.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint