Game Engine Loop

A game engine interacts with the math engine, rendering engine and physics engine through a master loop called the Game Engine Loop.

During every game tick, the Engine Loop renders a character by calling the Rendering Engine and updates the coordinates space of the character by calling the Math Engine.


The engine loop continuously calls a render and update function. The render function calls a Rendering Manager. The Rendering Manager takes care of correctly rendering the various game entities found in a game. For example, it knows how to render 3D game characters, sprites, text, skyboxes, etc.

The update function transforms the space-coordinate of each game entity. It communicates with the math engine to update the location and rotation of each game entity.

If external forces are applied, and Collision-Detection is enabled, then the Engine Loop calls the Physics Engine. The Physics Engine determines the velocity and position of the character.