O'Reilly logo

Sams Teach Yourself Windows® Phone 7 Game Programming in 24 Hours by Jonathan S. Harbour

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required