Skip To Content

Athabasca University

5.3. Using Timed Game Loops

Learning Objectives

When you have finished section 5.3, you should be able to:

  1. Explain what timed game loops are.
  2. Use timed game loops in games.

Required Tasks

  1. Study the Using Timed Game Loops section of Chapter 11 in the eTextbook.
  2. Carefully study the TimedLoop program by modifying the InterruptTest program as directed in the text.
  3. Complete the Chapter 11 quiz, and check your answers in Appendix A.

Optional Tasks

  1. Load the TimedLoop example program from the Files link below, and play with the code.
  2. Build and run the program.

Files (TimedLoop)

Review Questions

  1. How are the rested and resting variables related in the TimedLoop program?
  2. How are timers and interrupt handlers used in timed game loops?

Updated May 24 2016 by FST Course Production