Skip To Content

Athabasca University

7.2. Playing Movies and Cut Scenes

Learning Objectives

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

  1. Explain what FLI and FLC files are.
  2. Play FLI animation files in your game.
  3. Load FLIs into memory and play FLIs from a memory block.
  4. Play FLIC movies in game.

Required Tasks

  1. Study Chapter 19, Playing Movies and Cut Scenes, in the eTextbook.
  2. Carefully study the play-fli and fil_callback functions.
  3. Carefully study the PlayFlick program for how the two functions mentioned above can be used together.
  4. Carefully study the LoadFlick and ResizeFlick programs for how the low-level FLI animation routines work in programming games.
  5. Complete the Chapter 19 quiz, and check your answers in Appendix A.

Files (LoadFlick, PlayFlick, ResizeFlick)

Optional Task

  1. Carefully study the Tank War game program you enhanced in the previous section to see how the game can be further enhanced using the techniques you just learned.

Updated May 24 2016 by FST Course Production