Synchronise graphics and logic code
- by Skeith
I have a procedural approach to the game loop that runs various classes.
it looks like this:
continue any in progress animations
check for used input
apply AI
move things
resolve events such as collisions
draw it all to screen
I have seen a lot of posts about how drawing should be running separately as fast as it can, possibly in another…