Game Development Reference
In-Depth Information
Victorian Rush Hour - the game
Download the 4198_07_START_PROJECT.zip file from this topic's Support page
( www.packtpub.com/support ) and run the project in Xcode. You should be able to recog-
nize all the work we did in the test version, and pinpoint the few extra elements. You will
also see that nothing was added to the actual gameplay.
In Victorian Rush Hour , I wanted to make the terrain the main challenge in the game, but I
also wanted to show you how easily you can add new elements to the buildings and interact
with them.
You can later use the same logic to add enemies, obstacles, or pickups for the cyclist sprite.
All you need to do really is extend the collision detection logic to check for the new items.
You could, for instance, add umbrellas as pickups, and every time the _player object
floated, he would be minus one umbrella.
Next, I'll list the new elements added to the game.
Search WWH ::




Custom Search