Chapter 21. Improving the Game

IN THIS CHAPTER

In this chapter the game is enhanced by adding a 2D radar of the enemies. A level timer and scoring is also created and displayed on the screen. Finally, high scores are stored and saved to a storage device.

Creating the Radar

As we play the game, it becomes difficult to know where the enemies are. We need to spin around often to see where they are. Although some prefer to play games this way, it makes it much more difficult and many gamers will get frustrated and not play the game if we do not give them a bird’s-eye view of what is going on. We are going to create a radar in this section ...

Get Microsoft® XNA™ Unleashed: Graphics and Game Programming for Xbox 360 and Windows 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.