XNA for C#
DirectX 9 for C#
DirectX 9 for C++
DirectX 9 for VB
Forum
   
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


Ads

XNA and DirectX Tutorials

Welcome to the tutorials on DirectX and XNA. As you can see in the table of contents on the right, this site contains tutorials in a variety of languages. This page was written to provide some comments on the differences between these flavors.

When you click on one of those languages, you’ll see they’re subdivided into Series, which again consist of several chapters. Each chapter puts its focus on a new XNA (or DirectX) related concept.

Below you can see the screenshot of the final chapter of the 3 Series:



Let’s first discuss the different languages:


XNA using C#

Released in December 2006, XNA is intended to push the ease of game programming to the extreme. XNA is new wrapper around native DirectX. As development on a new version of Managed DirectX has been cancelled, XNA can be thought of as the new version of Managed DirectX. Although the code is not 100% the same, it is VERY similar. No windows event handling, built-in update and drawing loops and XBOX360 compatibility are just some of the some of the reasons why XNA will become the future of DirectX game programming.
XNA is built on top of DirectX 9, but I would be very surprised if it wouldn’t fit on the next version of DirectX, the Vista-only DirectX 10. Currently, I have ported all 3 Series of DirectX tutorials to XNA, and future series will be produced in XNA.


DirectX using C#

Before the release of XNA, this section used to be the main section of this site, and it contains 3 full Series. DirectX for C#, together with DirectX for VB, is also called Managed DirectX. This is a wrapper around the native calls to DirectX. Because of this wrapper, it is arguable that there is a slight loss of performance, but the ease of programming and resource management greatly compensates for this.


DirectX using C++

Writing a program using C++ gives you the possibility to use native DirectX calls. Although most professional games are written in C++, this language is not suited for writing DirectX tutorials, as C++-related problems would distract beginning programmers from the DirectX aspect. I have ported the first Series to C++ for those feeling the need to write a DirectX enabled program in C++.


DirectX using Visual Basic

Also part of Managed DirectX, coding DirectX using Visual Basic is user-friendly. TzeJian Chear kindly provided us with some chapters that can be used to get you into coding DirectX using Visual Basic.




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

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

Microsoft MVP Award



2007 - 2011 MVP Award
DirectX - XNA

Contents

News
Home
Forum
XNA 2.0 Recipes Book (8)
XNA 3.0 Recipes Book (8)
Downloads
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)
3D Series 2: Flightsim (14)
3D Series 3: HLSL (18)
3D Series 4: Adv. terrain (19)
Short Tuts (3)
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!