Tutorial 4: Make a Game in 60 Minutes - StumbleUpon
This tutorial helps you learn about the process of game construction, while guiding you through writing a relatively complete game. The code in this tutorial illustrates the technique described in the text. A complete code sample for this tutorial is available for you to download, including full source code and any additional supporting files required by the sample. Understanding the basics of game coding is the single most-difficult step for a beginning game programmer. Think of the idea of your ship on the screen. If, for instance, you wanted to add a second ship that would also draw on the screen, and had the ability to move and turn, you would have to create a copy of each of the variables you were using for the first ship. For a game that will ultimately have more than a dozen objects all drawing and moving around, this is unworkable. Start by right-clicking on your project in Solution Explorer, and select Add, then Class. Start with drawing the ship's model. Figure 1. Figure 2.
Related: Video Games
• XNA Game Studio