Top Banner
TRIVIA/QUIZ GAMES IT 7220 - April 13, 2009 Monday, April 13, 2009
10

Trivia/Quiz Games

Jan 22, 2015

Download

Education

This is the last in a set of prepared lectures used for IT 7220, Multimedia Games for Education. The companion text for Flash game reference is ActionScript 3.0 Game Programming University by Gary Rosenzweig. This section deals with game frameworks for quiz and trivia games.
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
  • 1. TRIVIA/QUIZ GAMESIT 7220 - April 13, 2009 Monday, April 13, 2009

2. AGENDA Schedule Update/RemindersRosenzweig Chapter 10 Working with XML Files Trivia Games (simple, deluxe, images)Lab Monday, April 13, 2009 3. SCHEDULEThis session concludes the prepared lecture part of courseNext week is devoted to Lab and preparation of your presentationsPresentations scheduled for April 27Dont forget Reection Paper due on May 4Monday, April 13, 2009 4. XML IN FLASHeXtensible Markup Language Provides a simple format for exchanging data between systems Examples used include nodes, child nodes, and attributes Data for an XML object may be embedded directly in Action Script; more common method is to read from an external le Couple of examples: xmlExample.a; xmlimport.a Monday, April 13, 2009 5. FLASH TRIVIA GAMES Three Trivia Games are covered in chap 10: Simple Quiz Game Deluxe Trivia Quiz Picture Quiz Monday, April 13, 2009 6. SIMPLE QUIZ GAMETriviaGame.a - basic trivia game is just a series of questions 10 questions and answers are stored in an external XML le - trivia1.xml (hint and fact nodes are also included, however are not used in this version of game) The game is built in two frames (even though the book says three) Questions appear in order although answers are shufed Monday, April 13, 2009 7. SIMPLE QUIZ GAME(CONT.)Uses URLLoader and URLRequest objectsGame elements are held in a single Sprite object gameSprite: questionSprite answerSprite gameButtonGame score is displayed on bottom of screen Monday, April 13, 2009 8. DELUXE TRIVIA QUIZTriviaGameDeluxe.a - adds additional game elementsA time limit for answering questionsDisplay of hintUpdated scoring accounts for time and whether hint isusedDisplay of factoid adding to educational value Uses question bank - trivia2.xmlSelects 10 questions from a pool of 42Questions and answers are randomized Monday, April 13, 2009 9. PICTURE QUIZPictureTriviaGame.a - variation on Simple Quiz GameAllows for display of text or pictures for answers, using a 2x2 grid formation instead of 4 linestrivia3.xml - XML le uses a type attribute in the question and answer nodes to specify either text or le (picture in swf le)Monday, April 13, 2009 10. LAB Work in Teams Monday, April 13, 2009