Note About This Book: Advanced Lingo For Games was written by Gary Rosenzweig in 2000 for users of Macromedia Director 7. It is presented here for free on an as-is basis, with no updating. Most of the information and code here can be used in the most recent version of Director. The book has been reproduced from the final editing files archived in 2000, and not the final proof galleys. So some minor differences between this version and the printed version my exist. The entire contents of this book are Copyright 2000, Gary Rosenzweig. No part may be reproduced or copied without written permission. The text here is provided for individual use only.
Want to thank me for making this book available for free? Just buy Special Edition Using Macromedia Director MX and we'll call it even!

Advanced Lingo For Games
by Gary Rosenzweig


Chapter 13 Section 1

Useful Lingo in This Chapter

Behaviors: Using parameters

Graphics: Making sprites disappear

Interface: Using button down states

  • Math: Using random numbers

    Strings: Storing data in text members

    Strings: Using items

    Strings: Comparing strings

  • Variables: Keeping score

    Trivia games for computers have become amazingly popular because they are simple to play and addictive. They are also undoubtedly educational, even if all you learn are a few trivial facts.

    Trivia games can be easily made with Director. Because trivia games are essentially text-based, we will be using a lot of Lingo's string handling functions to create this trivia game.