Game Loop

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.
You've successfully subscribed to bell0bytes
Great! Next, complete checkout for full access to bell0bytes
Welcome back! You've successfully signed in.
Unable to sign you in. Please try again.
Success! Your account is fully activated, you now have access to all content.
Error! Stripe checkout failed.
Success! Your billing info is updated.
Error! Billing info update failed.