Hour 23. Rocket Science: Acceleration

What You’ll Learn in This Hour:

Building the game

Gravity well regions

Enhancing MassiveObject

Gameplay source code

Now we can begin working on the gameplay involving user input and the logic for the game. This first part of the game developed this hour will focus on the player’s spacecraft, the black hole, and objects moving in space. The player will need to orient and fire energy-gathering satellites into orbit around the black hole to gather energy, while the ship is also consuming energy to maintain its position. The goal of the game is to get enough energy to keep the ship from falling into the black hole. There will be little by way of polish in this hour, with just the primary gameplay being ...

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.