O'Reilly logo

Microsoft® XNA® Game Studio 4.0: Learn Programming Now! by Rob Miles

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

Chapter 11. A Game as a C# Program

In this chapter, you will

  • Find out how Microsoft XNA games are actually C# programs.

  • Start to create a game from the contents of a grocery bag.

  • Make your game display fit correctly on the screen.

  • Get the first components of a game running.

Introduction

At the moment, you know quite a lot about how XNA works and how to use C# language constructions to control the facilities that XNA gives you. You have created games by investigating what you need to do inside the game class to get the effects that you want on the screen. Now it’s time to step back a little and consider how the XNA Framework and the C# language fit together and just what a C# program is. This helps you understand how to construct games of your own and ...

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