The Game Loop


Introductions

Introduce yourselves!

Icebreaker: What is your favorite game that is based on a movie?


Groupwork

In the Tutorial, we saw the “30k-foot” 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

Each person in a group should submit their answers:

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

Make sure to include the names of all group members.

Happy looping!

– Mark