7.2. Playing Movies and Cut Scenes
Learning Objectives
When you have finished section 7.2, you should be able to:
- Explain what FLI and FLC files are.
- Play FLI animation files in your game.
- Load FLIs into memory and play FLIs from a memory block.
- Play FLIC movies in game.
Required Tasks
- Study Chapter 19, Playing Movies and Cut Scenes, in the eTextbook.
- Carefully study the play-fli and fil_callback functions.
- Carefully study the PlayFlick program for how the two functions mentioned above can be used together.
- Carefully study the LoadFlick and ResizeFlick programs for how the low-level FLI animation routines work in programming games.
- Complete the Chapter 19 quiz, and check your answers in Appendix A.
Files (LoadFlick, PlayFlick, ResizeFlick)
Optional Task
- 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.