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


Riemer's 2D & 3D XNA Tutorials

Welcome to my XNA Tutorials. On these pages you can find everything you need to start programming your own games in XNA! The aim of these XNA Tutorials is to kickstart your XNA programming in the shortest possible time. If you have some basic programming experience, whether it be using C#, Microsoft Visual Basic or Java, you will have no problems to start coding your XNA project right away. All the software you need to start writing your XNA application is completely free! On the first page of Series 1 you can find the link where you can download Microsoft’s Game Studio 2.0.

The XNA Tutorials are presented in series of tutorials. Instead of writing small stand-alone chapters, I've opted to introduce you to the various XNA concepts one at a time, and gradually integrate the new concepts into our project as we move on. This way, you can see a real-world example in practice of all the features explained in the chapters. The major aim of these XNA Tutorials is to produce nice-looking results within the shortest possible time.

At this moment, you can find 5 series of XNA Tutorials on this site: one series on 2D game programming and 4 series on 3D game programming. Let me show you the final screens of the 5 projects we create during the Tutorials:

2D Series 1: Shooters!

3D Series 1: Terrain

3D Series 2: Flightsim

3D Series 3: HLSL Intro

3D Series 4: Advanced Terrain

If you’re interested in beginning game programming in XNA, you can start with the 2D series. In this series, you’ll learn enough techniques to create almost any 2D game you can think of! This is a screenshot of the game we’ll create in this series:

If you’re ready for some 3D programming, you should give the first Series of 3D programming a try. In this first Series of 3D programming you’ll create a true three-dimensional landscape. Linking to your graphics card, drawing a few triangles and lighting basics will be introduced here.

In this second series of 3D XNA Tutorials, you'll learn how to create a complete flight simulator! This will include flying your aircraft in a true 3D city and firing bullets at objects! Including basic collision detection, this series already contains enough content to write your own 3D game!!

In the 3rd Series of 3D XNA Tutorials, we’ll start exploring Shaders. Shaders are used to improve the visual quality of the displayed image, so it’s clear you should start with the first 2 Series before moving on to this more advanced Series. As a final goal to demonstrate the strength of shaders, I have chosen my example of real lighting. Our scene is lit by a light, and all objects cast real shadows. Series 3 is used to show you how you can master some of the power inside your NVidia or ATI graphics board.

Taking these tutorials to the next level in this fourth Series of 3D XNA Tutorials, we’ll see some more advanced techniques that will allow us to create a real 3D world that you can use as a start for your own game. Multitexturing and reflective water are just a few of the techniques covered. Of course, since this Series relies heavily on HLSL, an understanding of the first three 3D Series are mandatory.

You can also find how to code these series using DirectX for C#, and the first series has also been ported to DirectX for C++ and DirectX for VB. You can find these DirectX Tutorials in the Contents menu, on the rights side of the page.

Any comments on grammatical errors, errors in the code, or on anything else are greatly appreciated. I will update the site as soon as I see your post here. Also, if you have any questions, feel free to ask them there!


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)
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!