XNA for C#
DirectX 9 for C#
DirectX 9 for C++
DirectX 9 for VB
My XNA Book
       Go to section on this site

Additional info

Latest Forum posts

 Account settings
  Posted by: Anonymous
  When: 07/05/2014 at 09:48:39

 forced subtitle
  Posted by: Applefly
  When: 07/05/2014 at 06:00:48

 convert DVD into PMS
  Posted by: Applefly
  When: 07/05/2014 at 05:55:25

 DVD to Digital Copy easily
  Posted by: VIKIVannessa
  When: 05/05/2014 at 06:52:29

 DVD on Xbox 360/Xbox One Console
  Posted by: VIKIVannessa
  When: 05/05/2014 at 06:51:47

 Extract .Srt Subtitles
  Posted by: Applefly
  When: 04/05/2014 at 03:54:38

 Encode Movie collection
  Posted by: Applefly
  When: 04/05/2014 at 03:52:41

 Convert DVD to WMV
  Posted by: Applefly
  When: 29/04/2014 at 05:53:50

 rip DVDs into digital files
  Posted by: Applefly
  When: 29/04/2014 at 05:51:20

 iTunes movies/music to Kindle Fire
  Posted by: ciciyu80
  When: 29/04/2014 at 05:10:20


XNA 2.0 Game Programming Recipes

Riemer Grootjans

On this page, you can download the accompanying code for the book “XNA 2.0 Game Programming Recipes”.

This section also contains a description of the Table of Contents of the book. At the bottom of this page, you can find a short summary on all chapters. Click on the chapter to go a page with more details on the chapter.

Code Download

Click on the links below to download the code for each chapter:

Download code for Chapter 1
Download code for Chapter 2
Download code for Chapter 3
Download code for Chapter 4
Download code for Chapter 5
Download code for Chapter 6
Download code for Chapter 7
Download code for Chapter 8

Table Of Contents

Click on a chapter for more information on the Recipes inside each chapter:

CHAPTER 1: Getting Started with XNA 3.0 (29 pages)
CHAPTER 2: Setting Up Different Camera Modes in Your 3D World (144 pages)
CHAPTER 3: Working with 2D Images/Textures in XNA 3.0 (94 pages)
CHAPTER 4: Working with Models (113 pages)
CHAPTER 5: Getting the Most Out of Vertices (129 pages)
CHAPTER 6: Adding Light to Your Scene in XNA 3.0 (60 pages)
CHAPTER 7: Adding Sounds to Your XNA 3.0 Project (15 pages)
CHAPTER 8: Networking in XNA 3.0 (32 pages)


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 - 2011 Riemer Grootjans

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

Microsoft MVP Award

2007 - 2011 MVP Award
DirectX - XNA


XNA 2.0 Recipes Book (8)
XNA 3.0 Recipes Book (8)
Chapter 1
Chapter 2
Chapter 3
Chapter 4
Chapter 5
Chapter 6
Chapter 7
Chapter 8
Extra Reading (3)
Matrices: geometrical
Matrix Mathematics
Homogenous matrices
Community Projects (1)
Tutorials (160)
XNA 4.0 using C# (89)
2D Series: Shooters (22)
3D Series 1: Terrain (13)
Starting a project
The effect file
The first triangle
World space
Rotation - translation
Terrain basics
Terrain from file
Adding colors
Lighting basics
Terrain lighting
VertexBuffer & IndexBuffer
3D Series 2: Flightsim (14)
3D Series 3: HLSL (18)
3D Series 4: Adv. terrain (19)
Short Tuts (3)
Run XNA on older pcs
MessageBox in XNA
Normal generation
DirectX using C# (54)
DirectX using C++ (15)
DirectX using VB (2)
-- 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!