Game Programming

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

Basic Projectile Motion

A projectile is an object that is launched into motion and then allowed to follow a path determined solely by the influence of gravity. Air resistance and the Earth's rotation are ignored for the moment. Projectile movement is implemented in C++ using symplectic Euler integration.

Two-Dimensional Motion

This tutorial extends our study of kinematics to motion in two dimensions, allowing for a wider range of physical phenomena to be simulated with our symplectic integrator.

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.