issues
search
denovodavid
/
glamour
💎 Rust & OpenGL Rendering Project
https://glamour.davidhol.land
0
stars
0
forks
source link
Main Loop
#1
Closed
denovodavid
closed
4 years ago
denovodavid
commented
4 years ago
Create a main loop:
event poll
and handling, runs as fast as possible.
fixed update
, runs at set intervals, e.g., 120fps.
render
, runs if still time after fixed update and not above max frame rate. Gets limited by vsync.
Resources:
http://gameprogrammingpatterns.com/game-loop.html
http://entropyinteractive.com/2011/02/game-engine-design-the-game-loop
Create a main loop:
Resources: