Game Programming

Total 58 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."

One-Dimensional Kinematics

This tutorial introduces one-dimensional kinematics and a symplectic integrator to find the position and velocity of game objects at any moment in time.

Basic Collision Detection with Bounding Spheres and Rectangles

In many games it is important to be able to detect when certain game objects collide with eacher other. In this tutorial we will learn two different ways to tackle the collision detection problem for polygonal objects.

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.