DirectXTutorial.com
The Ultimate DirectX Tutorial
Game Display
Log In
Prerequisite

Before you can do this tutorial, you will need the following:

1.  Visual Studio 2005 (or Visual C++ 2005 Express Edition)*.
2.  A knowledge of basic C++ and Win32 programming.
3.  DirectX SDK (February 2005 or later) and a knowledge of its basics.
4.  A burning desire to make games.

* - other versions of C++ compilers will also run DirectX, however, there are some language specific changes you may need to make in each of the demo applications.

Lesson 1:  Using Sprites

This is the first of the lessons in 2D graphics.  To do 2D graphics at all, we must know how to use sprites, a common method of drawing flat images.  This lesson will cover how to draw a simple sprite onto your screen.

Lesson 2:  More About Sprites

2D graphics are not as boring as they appeared in Lesson 1.  There are many parameters and flags that can be utilized to make very good-looking 2D graphics.

Lesson 3:  Animation

In game displays, it is important to have some form of animation.  Most displays (although some still manage to do without them) have lots of animations, and because of this they are full of life and action.  This lesson will cover the fundamentals of animation, while the exercises will get you ready to build your own.

Lesson 4:  Adding Text to the Display

Where would a game display be without text?  It would be without ammo indicators, health indicators, text messages, or anything.  This lesson covers the basics of text display.

Lesson 5:  Building a Game Display

Now we finally get to build a game display.  In this lesson, we will go over various methods of using sprites to build a great game display.