Game Development with raylib C++ — Day #3

Create a Game Loop and Game Class

What makes games different from other applications is that the game must update many times a second for as long as the program runs. This is also known as the “Game Loop”.

The game repeats the following steps:

  1. Update the game world
  2. Generate any outputs

In this article, we are going to create a Game Class that will encapsulate the logic for this game loop. We…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Jean-Noel Seneque

Jean-Noel Seneque

179 Followers

A Data & Analytics Consultant who is expanding into developing experiences in XR, Enterprise and Gaming space using Unity www.jeannoelseneque.com