July 2011
Beginner to intermediate
640 pages
14h 58m
English
In Chapter 2, “Hello, Space Viking,” you learned the basics of Cocos2D and created a scene with two layers: background and gameplay. You got a Viking sprite moving around on the screen, and hopefully, you whet your appetite for continuing on to the full-featured game. In this chapter you will learn about actions and animations and in the process start to build a flexible framework for Space Viking. As you read this chapter, keep in mind that you can reuse this framework to create your own games in the future.
A quick word of warning: this chapter and the next one are very code heavy, but do not be alarmed—we go through it step by step and explain everything along the way. Game development covers ...
Read now
Unlock full access