Chapter 6. Creating a Multi-Player Game

In this chapter, you will

  • Discover how to detect and use individual button-press events in a game.

  • Learn how to create and debug a complex program.

  • Write one of the only 16-player games for the Xbox in the world.

Introduction

Now that you can write programs that process data, read input from the gamepad, and display text and graphics, you can move on to create some proper games. The first games that you are going to create are simple to use and play, but are great fun, particularly if you have large numbers of people around to play them. While you create the behaviors for the games, you also learn some more C# constructions that can be used in later games.

Get Microsoft® XNA® Game Studio 4.0: Learn Programming Now! 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.