The game – Rocket Through
In this sci-fi version of the classic Snake game engine, you control a rocket ship that must move around seven planets, collecting tiny supernovas. But here's the catch: you can only steer the rocket by rotating it around pivot points put in place through touch
events. So the vector of movement we set for the rocket ship is at times linear and at times circular.
The game settings
This is a universal game designed for the regular iPad and then scaled up and down to match the screen resolution of other devices. It is set to play in portrait mode and it does not support multitouches.
Play first, work later
Download the 4198_05_START_PROJECT.zip
and 4198_05_FINAL_PROJECT.zip
files from this book's Support page.
You will, once again, use the Start Project option to work on; this way, you won't need to type logic or syntax already covered in previous chapters. The Start Project option contains all the resource files and all the class declarations as...