Total 3 Posts
The central component of any game, from a programming standpoint, is the game loop. The game loop allows the game to run smoothly regardless of a user's input or lack thereof.
The Game Loop
This tutorial dissects the heart of every game: the game loop. A design that allows for unbounded frames per second while maintaining numerical stability is implemented.
Keeping Track of Time
As in reality, keeping track of time is important for games. After discussing a theoretical game loop, this tutorial implements a high-precision timer based on the native Windows QueryPerformanceCounter function.
A real-world Windows application
This tutorial teaches how to define and create a window in Windows. Additionally a robust real-time game loop and window procedure are explained in detail.