Tutorials

C++/D3D Pong Tutorial 02: Setting up Direct3D and our Engine Framework

Tutorial Description
In the last tutorial, we set up the basics required for the Windows API to open our window. While basic, the task was also essential, though many people who are familiar with Win32 Programming will likely have gained nothing from it. Here, we are going to do several tasks. In no particular order, they are as follows:
1) Set up Direct3D rendering
2) Set up the framework for our game engine
3) Implementing game timing

Downloads
Binary Only (10.4KB)
Full VS2010 Project Dir (13.1MB)

Starting Words
Notice: This tutorial continues from where the “C++/D3D Pong Tutorial 01” article left off. Please read it if you have not already.

More >

C++/D3D Pong Tutorial 01: Setting up the Project

Alright, the time has come for me to start up my tutorials again. Suppose I’ll start off with creating a Pong clone using C++ and Direct3D 9 (the game will be in two dimensions, though, for this product. Perhaps a 3D Pong tutorial can come later.)

Welcome to the D3D Pong Tutorial Series
Throughout this tutorial series, we will be developing a two-dimensional Pong clone using C++ and Direct3D 9. The tutorial assumes basic knowledge of the C++ language, as well as basic familiarity with namespaces, pointers, and the Microsoft Visual Studio IDE.

System Requirements
This tutorial series assumes that the following are true:
1) You have the DirectX SDK installed and configured on your system.
2) You know how to configure your IDE to use the header files and libraries included within the DirectX SDK
3) You know how to set up a new Win32 project (vice the use of a console project) in your IDE
4) You know how to add static libraries to a project within your IDE

Tutorial Description
This tutorial covers the first part of the D3D Pong project. We will create a Windows Application project, add the appropriate libraries, and will create the game/application window. In the next tutorial, we will cover setting up Direct3D, and will lay out the framework for the game engine.

More >