Building a cocos2D AR Game
In this chapter, we're going to extend on what we learned in Chapter 7 and build a fully functional AR game. There are so many scenarios or possible story lines for augmented reality games. Although this plot is a little ridiculous, it'll demonstrate some important capabilities for AR gaming. We'll learn how to structure a cocos2D game with a menu and launch options. We'll also handle scoring and end game scenes. The entire game will be played on top of a camera view.
Every game starts with a story. Here's our story: Some alien pumpkins have taken over our planet. The universal police have released a special device that lets us see the pumpkins and destroy them by tapping on them through the camera. ...