This chapter will cover how to set up touch events within our game. So far, the game has had no user interaction from a gameplay perspective. This chapter will rectify this by adding touch controls in order to move the space pod and avoid the asteroids.
The topics that will be covered in this chapter are as follows:
There are two main routes to detect touch provided by Cocos2d-x: