In my last G-Engine post, I did some setup work and finally got a basic OS window appearing that could be moved around, minimized/maximized, and closed. Good start!
In this post, we’ll do a bit more planning, and then we’ll structure our code into a high-level class (GEngine
) that’ll be more conducive to building an engine than just shoving everything into the main
function. We’ll also implement our “delta time” calculations, which will be critical for updating the state of our game as we move forward.