In Understanding the Game Loop, I compared two game loop implementations against each other in a consecutive manner using what I call the Litmus Testing Framework. It’s a lightweight, easy to use framework that provides for rapid visual comparisons. It will be used more and more as we get into more complicated examples here at game poetry so it is worth releasing into the wild for your perusal.
There’s a silly example included with the source code. Let me know if you have any questions or comments.
Related Posts: