O'Reilly logo

Learning Cocos2D: A Hands-On Guide to Building iOS Games with Cocos2D, Box2D, and Chipmunk by Ray Wenderlich, Rod Strougo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

5. More Actions, Effects, and Cocos2D Scheduler

In Chapters 3 and 4 you created the foundation for the Space Viking game, added Ole the Viking and a radar dish to the scene, and wired up all of the controls. In this chapter you will add an enemy robot, the massive space cargo ship, and several power-ups to help Ole. You will learn how to create a complex enemy that can chase after and attack the player. You will also learn about the Cocos2D scheduler and how to use the Cocos2D built-in effects.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required