Your SlideShare is downloading. ×
0
TRIVIA/QUIZ GAMES
                             IT 7220 - April 13, 2009




Monday, April 13, 2009
AGENDA


                    Schedule Update/Reminders

                    Rosenzweig Chapter 10

                       ...
SCHEDULE

                    This session concludes the prepared lecture part of
                    course

            ...
XML IN FLASH

                    eXtensible Markup Language
                    Provides a simple format for exchanging d...
FLASH TRIVIA GAMES


                Three Trivia Games are covered in chap 10:

                         Simple Quiz Game...
SIMPLE QUIZ GAME

                    TriviaGame.fla - basic trivia game is just a series of
                    questions
...
SIMPLE QUIZ GAME                              (CONT.)



                    Uses URLLoader and URLRequest objects

      ...
DELUXE TRIVIA QUIZ

                    TriviaGameDeluxe.fla - adds additional game elements
                         A tim...
PICTURE QUIZ

                    PictureTriviaGame.fla - variation on Simple Quiz
                    Game

              ...
LAB




                    Work in Teams




Monday, April 13, 2009
Upcoming SlideShare
Loading in...5
×

Trivia/Quiz Games

1,216

Published on

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.

0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,216
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
23
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

Transcript of "Trivia/Quiz Games"

  1. 1. TRIVIA/QUIZ GAMES IT 7220 - April 13, 2009 Monday, April 13, 2009
  2. 2. AGENDA Schedule Update/Reminders Rosenzweig Chapter 10 Working with XML Files Trivia Games (simple, deluxe, images) Lab Monday, April 13, 2009
  3. 3. SCHEDULE This session concludes the prepared lecture part of course Next week is devoted to Lab and preparation of your presentations Presentations scheduled for April 27 Don’t forget Reflection Paper due on May 4 Monday, April 13, 2009
  4. 4. XML IN FLASH eXtensible 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 file Couple of examples: xmlExample.fla; xmlimport.fla Monday, April 13, 2009
  5. 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. 6. SIMPLE QUIZ GAME TriviaGame.fla - basic trivia game is just a series of questions 10 questions and answers are stored in an external XML file - 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 shuffled Monday, April 13, 2009
  7. 7. SIMPLE QUIZ GAME (CONT.) Uses URLLoader and URLRequest objects Game elements are held in a single Sprite object gameSprite: questionSprite answerSprite gameButton Game score is displayed on bottom of screen Monday, April 13, 2009
  8. 8. DELUXE TRIVIA QUIZ TriviaGameDeluxe.fla - adds additional game elements A time limit for answering questions Display of hint Updated scoring accounts for time and whether hint is used Display of factoid adding to educational value Uses question bank - trivia2.xml Selects 10 questions from a pool of 42 Questions and answers are randomized Monday, April 13, 2009
  9. 9. PICTURE QUIZ PictureTriviaGame.fla - variation on Simple Quiz Game Allows for display of text or pictures for answers, using a 2x2 grid formation instead of 4 lines trivia3.xml - XML file uses a “type” attribute in the question and answer nodes to specify either text or file (picture in swf file) Monday, April 13, 2009
  10. 10. LAB Work in Teams Monday, April 13, 2009
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×