Game Development Reference
In-Depth Information
The final stage of the loop comes right after we finish updating our objects. Here, we clear
everything that has been drawn from the last time and render every object on the screen
again.
Going back to the example of our game loop, it currently doesn't perform the things it's
supposed to and, if we try to run the code, it becomes obvious that the window doesn't re-
spond to inputs. This is because we don't perform the first of the three important steps in
the loop—handling the input.
Search WWH ::




Custom Search