The Game Loop


Introductions

Introduce yourselves!

Icebreaker: What is the worst game you have spent a lot of time on?


Groupwork

In the Tutorial, we saw the high-level view of Game Code using an engine:

        A. Startup Engine
        B. Populate world with objects
        C. Run game
        D. Shutdown Engine
  1. What is happening in C) above? (Hint: there should be a “loop”) What are the steps? When does it exit/return? Write some pseudo-code for what is happening (4-7 lines is plenty).

  2. What determines the speed of the game loop (i.e., how fast does it iterate through the loop)?

  3. What component of a game engine should handle the game loop?


Hand-in

Submit your answers:

https://wpi.qualtrics.com/jfe/form/SV_agvGQRWhgOfO7rg

Make sure to include the names of all group members.

Happy looping!

– Mark