Learning Cocos2D: A Hands-On Guide to Building iOS Games with Cocos2D, Box2D, and Chipmunk
by Rod Strougo, Ray Wenderlich
2. Hello, Space Viking
In the previous chapter you installed Cocos2D on your system, including the templates that are used by Xcode. You also learned about some of the companion tools you will be using in later chapters. Now it is time to start your journey creating Space Viking by putting Ole the Viking onscreen and moving him around. In this chapter you will deal only with the iPad version of Space Viking; later in the book you will cover in detail techniques and practices to adapt and scale a game from iPad down to the iPhone.
You will start by creating the basic Space Viking game project, which you will build upon throughout the rest of the book. You will begin with a basic Cocos2D template and add two sprites, one for the background and ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access