Hour 24. The Black Hole Game

What You’ll Learn in This Hour:

Adding the finishing touches

Modifying the GameModule interface class

MySoundEffect class

GameOver class

OptionsModule class

TitleScreen class

Game1 class

MassiveObject class

PlayingModule class

This hour puts the finishing touches on the Black Hole game that has really been in the works, more or less, for the past five hours. We first explored GUI programming back in Hour 20, “Creating a Graphical User Interface.” Then we learned about finite states in Hour 21, “Finite State Gameplay,” followed by calculating gravity in Hour 22, “The Physics of Gravity.” These techniques are useful in any sort of game, and we’re using them here for the final game with some pretty ...

Get Sams Teach Yourself Windows® Phone 7 Game Programming in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.