5.3. Using Timed Game Loops
Learning Objectives
When you have finished section 5.3, you should be able to:
- Explain what timed game loops are.
- Use timed game loops in games.
Required Tasks
- Study the Using Timed Game Loops section of Chapter 11 in the eTextbook.
- Carefully study the TimedLoop program by modifying the InterruptTest program as directed in the text.
- Complete the Chapter 11 quiz, and check your answers in Appendix A.
Optional Tasks
- Load the TimedLoop example program from the Files link below, and play with the code.
- Build and run the program.
Files (TimedLoop)
Review Questions
- How are the rested and resting variables related in the TimedLoop program?
- How are timers and interrupt handlers used in timed game loops?
Updated May 24 2016 by FST Course Production