9

PUT THE VIDEO BACK IN “VIDEO GAME”

CHAPTER OUTLINE

Video Codecs

External Video Uses: Cutscenes and Menus

Encoding a Cutscene

CutsceneManager

Using the CutsceneManager

Video on the Timeline

File Size

Ease of Use and Library Clutter

Performance

Free Motion Blur

Setting Up an Internal Video

Summary

Video is probably used more than you might initially think in Flash games. Video is a great format for noninteractive cutscenes because the performance is consistently satisfactory (Adobe has put a great deal of effort into making sure that video plays smoothly in Flash), and it can be created and stored completely externally to a game. In this chapter, we’ll see how it is also an excellent container for character animations, particle effects, and other ...

Get Real-World Flash Game Development, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.