Game Programming

Total 49 Posts
"Most good programmers do programming not because they expect to get paid or get adulation by the public, but because it is fun to program."

Resolution Independent Rendering

To support multiple resolutions, a technique called "Resolution Independent Rendering", pioneered by Donald Knuth, is implemented using Direct2D and some linear algebra.

Inno Setup - Installing Prerequisites

In this tutorial, an Inno Studio script, written in Pascal, to check for and to install the Visual C++ 2017 Redistributables, if required, is developed and explained.

Inno Setup - Basic Windows Installer

This tutorial covers how to use "Inno Setup" to create professional looking installers for Windows programs.

Stécker vum Himmel

Stécker vum Himmel is a Tetris clone. This tutorial explains how to implement the basic ideas and mechanics of a Tetris game.

Streaming Music with XAudio2

In this tutorial we will learn how to implement an audio streaming technique using XAudio2 and the Windows Media Foundation's source reader in asynchronous mode.

XAudio2 and Submix Voices

In this short tutorial we will learn how to use XAudio2 and submix voices to collect source voices into sets and how to set the volume level of a submix voice.

The Basics of XAudio2

In this tutorial we will learn how to use XAudio2 and the Windows Media Foundation to load both uncompressed and compressed audio files from the hard drive and how to play them back using an event queue.