We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

Resources for Creating a Game Using DirectX (C++)

C++ is an excellent language for creating games because of its power and flexibility. By using Visual C++ and DirectX, you can write games in either native or managed code. This flexibility allows you to create your game on the platform that you are most comfortable with.

Creating a good game is a challenge that is outside the scope of this guided tour. If you are up to the challenge, check out the following links for information that will help you create your first game.

This topic assumes that you understand the fundamentals of the C++ language.

Getting started with games programming

  1. To create games by using DirectX, you must install the DirectX SDK from the DirectX Developer Center. After you have installed the SDK, you will find several samples that will help you get started with DirectX programming.

  2. Check out the Visual C++ Express Edition Web page at MSDN for existing games that you can download, study, and modify however you want. From there, you can download games from Microsoft Research and you can even download the complete source to the popular game Quake II .NET.