XNA for C#
DirectX 9 for C#
DirectX 9 for C++
DirectX 9 for VB
Forum
   2D Series finished!
My Book: Out Now!
      
       Go to section on this site

Additional info


Latest Forum posts

 Flight cinematics
  Posted by: darthrevan
  When: 04/07/2009 at 11:22:59

 working?
  Posted by: Nemo Krad
  When: 02/07/2009 at 16:35:53

 Example Code (Specifically, for C#)
  Posted by: Nemo Krad
  When: 02/07/2009 at 16:33:46

 working?
  Posted by: Robes
  When: 01/07/2009 at 06:40:28

 get front vertices
  Posted by: Rich_Zap
  When: 29/06/2009 at 07:27:06

 Black geometry after resize
  Posted by: TimGradwell
  When: 27/06/2009 at 08:39:27

 Remier! Translation of some tutorials
  Posted by: alexg
  When: 26/06/2009 at 09:40:16

 For beginners
  Posted by: Archenon
  When: 25/06/2009 at 13:13:03

 Red X
  Posted by: Archenon
  When: 25/06/2009 at 13:07:07

 Graphics Device Problems
  Posted by: Anonymous
  When: 25/06/2009 at 12:40:40


Ads




XNA 2.0 Game Programming Recipes

Riemer Grootjans







Chapter 1: Getting Started with XNA 2.0 (24 pages)

The first part of this chapter will get you up and running with XNA 2.0 by guiding you through the installation process and helping you get your code running on a PC and on the Xbox 360 console.
The second part of this chapter contains some more advanced topics for those interested in the inner workings of the XNA Framework.

1-1. Install XNA Game Studio 2.0
This Recipe shows you how to download and install XNA 2.0 Game Studio on your computer.

1-2. Start Your First XNA 2.0 Project
When you start a new XNA 2.0 Project, XNA will present you with some starting methods. This recipe discusses these predefined methods and explains the Game Loop.

1-3. Deploy Your XNA2.0 Game on Xbox 360
Learn how you can upload your games to your XBox360 console to run play your own games on your television.

1-4. Deploy Your XNA2.0 Game on Another PC
This recipe discusses which files are required to make your game run on another computer.

1-5. Customize Game Loop Timing
Learn the details of the Game Loop timing and how you can change these to your liking.

1-6. Make Your Code Plug-and-Play Using GameComponents
Separate your code into GameComponents to ensure their reusability. Once defined, a GameComponent can be added to your game with just a single line of code.

1-7. Allow Your GameComponents to Communicate with Each Other by Implementing GameServices
When you are using multiple GameComponents in your game, they will somehow need to interact with each other. Since you want to be able to interchange GameComponents in a flexible way, you cannot code these interaction by hard. GameServices allow the GameComponents to interact with each other's functionality, instead of with each other specifically.

1-8. Save and Load Data to/from a File
When saving and loading data, you cannot simply use the .NET IO namespaces, as this would result in acces violations on the XBox360 console. This can be solved by using XNA's StorageDevice class, which works both on the PC and the XBox360 console.




Recipe 1-7: Billboard Component interacting with QuakeCamera Component through GameServices


Google
 
Webwww.riemers.net


If you appreciate the amount of time I spend creating and updating
these pages, feel free to donate -- any amount is welcome !



- Website design & XNA + DirectX code : Riemer Grootjans -
©2003 - 2008 Riemer Grootjans
Translations

This site in English
This site in Korean
This site in Czech

Microsoft MVP Award



2007 - 2008 MVP Award
DirectX - XNA

Contents

News
Home
Forum
XNA 2.0 Recipes Book (8)
Chapter 1
Chapter 2
Chapter 3
Chapter 4
Chapter 5
Chapter 6
Chapter 7
Chapter 8
XNA 3.0 Recipes Book (8)
Downloads
Extra Reading (3)
Matrices: geometrical
Matrix Mathematics
Homogenous matrices
Community Projects (1)
Tutorials (160)
-- Expand all --


Thank you!

Support this site --
any amount is welcome !

Stay up-to-date

I don't have the time to keep a News section, so stay informed about the updates by clicking on this RSS file!