(Last Updated: June 8, 2018)

Want to make your very own version of the game show Who Wants to be a Millionaire? Then, this tutorial is what you’re looking for. It’ll walk you through the design and development of the Millionaire Quiz in ActivePresenter.

From Playing to Creating: Millionaire Quiz

How to Play?

In this Millionaire Quiz, learners have to answer all 15 Multiple Choice questions correctly to win one virtual million dollars. The questions are divided into three levels with increasing degrees of complexity. The more questions learners answer, the more money they win. No time limit. One wrong answer means losing everything. Quit at any time to start over.

millionaire quiz 01

How to Create?

Everything begins with a blank slide. Then, you’ll go to the Master View to design the template resembling the actual Who Wants to be a Millionaire game show. You’ll create all the graphics with lines, shapes, and freeform drawings and use built-in sounds for click effects. Thus, no external resource required.

There will be 18 slides in total: the Welcome, Failure, Congratulations, and 15 Multiple Choice question slides. The questions are increasingly difficult and come at random. For that to happen, you’ll work with slide pools and random slides.

The animation work won’t cost you a lot of time because you just deal with animation loops in the Welcome and Congratulations slides. What takes time and effort is build all the interactions with actions and JavaScript. You want to control the behaviors of the buttons, the answers, the questions, the bank (the money won), and the money tree.

The key to working on this Millionaire Quiz is split it into smaller chunks. You will:

  1. Create the Question Template
  2. Make the Welcome, Failure, and Congratulations Slides
  3. Make the Question Slides and Build the Interactions
  4. Randomize Questions
  5. Export the Project to HTML5

Step 1: Create the Question Template

In this big step, you’ll give your entire project a uniform background and create the template for the questions. In the template, you’ll add states to objects so that you can build the interactions afterward.

1. Create the Question Template

You’ll work with the Slide Master to give all the slides the same background and all the questions the same template. In an opening project using the Blank theme, do the following:

Step 1: Open the Master View (View tab > Slide Master).

millionaire quiz 02

Step 2: Select the slide master and choose any dark background style (with white fonts) using gradient fill. Then, modify the gradient fill as you want. The changes will affect all the layouts in the hierarchy.

millionaire quiz 03

Step 3: Select any layout to design the question template with ready-made shapes, freeform drawings, text captions, and interactive buttons. In this example, the Title Slide layout is chosen.

millionaire quiz 04

Take note of the following:

  • Change the Title to be a hexagon and the Quit button to a left arrow (Format tab > Change Shape).
  • Hide two messages for the Quit and Submit buttons (Properties pane > Size & Properties > Timing > Initially Hidden).

millionaire quiz 05

  • Insert the Question Placeholder to add questions in the normal view (Slide Master tab > Insert Placeholder > Question).
  • Leave four hexagonal answers and the money tree for the next part (concerning multi-state objects).

Step 4: Add animation entrance effects (Fly In) to the Title and the Question Placeholder. Delay the start time of both a bit so that the title and the question will appear in turn after the slide starts.

millionaire quiz 06

At this point, there are two tasks left in the Slide Master: add states to objects and add actions to the Quit and Submit buttons. The former will be discussed right below while the latter will be saved for the second big step.

2. Create Multi-State Objects

You want the Millionaire Quiz to look like the actual game show. That is, each Multiple Choice question will come with four hexagons labelled by A, B, C, or D, not four radio buttons. Do a trick to get that.

You’ll use Multiple Choice questions with “invisible” radio buttons (text excepted). Place each radio button exactly above each hexagonal answer in the background. That way, learners will interact with the invisible radio buttons while seeing the multi-state hexagons.

millionaire quiz 07

For each hexagon, add three states: Hover (appears when being rolled over), Selected (appears when being clicked), and Correct (appears when being a correct answer). Adding and editing object states are done in the Object States pane (View tab > Object States).

Take note of the following:

  • Work on one hexagon. Once you get it ready, copy and paste it to get the three others. This will both save time and ensure all hexagons have consistent states.
  • Object states are about the “look”. When a slide has several multi-state objects, make sure similar states of different objects look harmonious in some way. For example, the Hover states of the buttons and the answers must somewhat “agree” with each other.

Regarding the money tree, you’ll add one other state to each value, namely the Highlight state. This state will appear to highlight the current question and the corresponding prize. In the following figure, you see nothing in the Normal state because it uses a transparent background (No Fill, No Line) and white text.

millionaire quiz 08

Besides, give the answers and the values in the money tree descriptive and consistent names because later you will use them to build the interactions. For example, name the values Value 1, Value 2, Value 3,…, Value 15 one after another in an ascending order.

Step 2: Make the Welcome, Failure, and Congratulations Slides

In this big step, you’ll make the Welcome, Failure, and Congratulations slides. Switch to the normal view (Slide Master tab > Close Master View) and work with slides. Then, insert Blank slides (Home tab > New Slide > Blank) and unleash your creativity. Once the “visual” part gets ready, add animation effects and make all the buttons work.

1. Design the Slides

All the graphics, including shining banners, spotlights, and a group of audience, are going to be created by you yourself in ActivePresenter. Make use of ready-made shapes and freeform drawings. For example, you’ll use a rounded rectangle and many circles to create the banner. Then, use freeform shape to draw two spotlights that shine at the banner. Fill the spotlights with gradient color to make them real.

millionaire quiz 09

The audience needs more creativity. For example, to create a female audience, grab a circle, a triangle, and a few rectangles. Don’t forget a cloud callout to give her curly hair. Set up all the pieces and group them into a single object to move and animate them together (right-click objects > Group > Group).

millionaire quiz 10

Take note of the following:

  • Copy and paste similar objects and slides to save time.
  • Open the Selection pane to easily manage child objects in a group (View tab > Selection).
  • Arrange the slides in the order: the Welcome, Failure, 15 question slides (added later), and Congratulations. This order is important when you want to navigate the quiz and create other interactions (explained later).
  • You may want to save your own graphics for reuse by using object templates.

You’ve done creating the “look” of the slides. The next part is about the “feel”.

2. Create Animation Loops

To create animation effects, select an object, go to the Animations tab, and choose the effect you want. This is what you do to create animation effects in the Slide Master and the Failure slide. But when it comes to the Welcome and Congratulations slides, things go to another level. In both slides, all the effects happen endlessly: the flashing spotlights and bulbs around the banner, the continuous money rain, and the swinging audience. To get animation loops like this, you need interactive timelines and actions.

The idea is pause the slide with a button and make the effects in the interactive timeline repeat until the slide ends. Then, trigger an action which calls that timeline when the slide starts. That way, the effects will play in a loop until you click the button and go to another slide.

In the Welcome slide, do the following:

Step 1: Create an interactive timeline and name it Loop (Timeline pane > Timeline list box > Add Timeline).

millionaire quiz 11

Step 2: In the Loop timeline, add an emphasis effect (Pulse) to the spotlights and bulbs. Make the effects repeat until the end of the slide (double-click the effect Time Bar > Repeat > Until end of Slide).

millionaire quiz 12

Step 3: Add the On Load event and the Start Timeline action to the slide (Properties pane > Interactivity > Events – Actions).

millionaire quiz 13

In the Congratulations slide, you’ll use motion paths to animate the money and the audience. Regarding the motion paths for the audience, automatically reverse the paths to make the swinging effect.

millionaire quiz 14

millionaire quiz 15

3. Make the Buttons Work

The Millionaire Quiz has five buttons coming from three types: navigation (the Start button), retry (two Play Again and the Quit buttons), and submit (the Submit button). Make the buttons work by adding events and actions to them (Properties pane > Interactivity > Events – Actions).

Take note of the following:

  • All the buttons have a click effect using the built-in sound Mouse Click 1.
  • The presentation will be paused until learners click the Start and Play Again buttons (Interactivity tab > General > Pause presentation to wait for user input > Just before hiding object).

millionaire quiz 16

a. Navigation: In the Welcome slide, clicking the Start button takes you to the first question of the quiz, which is the third slide (below the Welcome and Failure slides). Add two actions to the On Click event, as shown below:

millionaire quiz 17

b. Retry: You need to work with the system variable apCmdRestart to create the Play Again and Quit buttons. The Adjust Variable action will adjust this variable to true to restate the quiz.

millionaire quiz 18

For the Quit button, apart from restarting the quiz, you want a hint message to appear when you hover over the button. Thus, switch to the Master View and add two other events: On Rollover and On Rollout (occur when the mouse enters and leaves the button, respectively).

millionaire quiz 19

c. Submit: The Submit button submits the learner answers to evaluate.

millionaire quiz 20

At this point, you’ve done creating the Welcome, Failure, and Congratulations slides. The next step is make the question slides and make your Millionaire Quiz interactive.

Step 3: Make the Question Slides and Build the Interactions

At the beginning of the workflow, you’ve designed the question template in one layout of the Slide Master. Now is the time to use that layout to make the question slides. The best practice is insert one question slide, edit it, create interactions, and then copy and paste it to get the other slides.

1. Make the First Question Slide

You’ll insert a new slide using the question template you’ve already created (Home tab > New Slide > Title Slide). Now get it “visually” ready by performing the steps:

Step 1: Click the Multiple Choice icon in the Question Placeholder. A Multiple Choice question is added with four radio buttons.

millionaire quiz 21

Step 2: Set the maximum number of attempts to 1 so that learners can try the question once (Properties pane > Interactivity > Score & Reporting > Attempts > 1).

Step 3: Arrange the radio buttons so that each button places exactly above each hexagonal answer. To do that, select the question and go to the Properties pane > Size & Properties > Group Layout > Mode > None. Now you can freely resize and reposition each radio button.

millionaire quiz 22

Step 4: Make all the states of the radio buttons invisible (text excepted). To do that, in the Object States pane > Edit States to enable the edit mode. Next, select each state of a radio button and go to the Format tab, make all related properties transparent.

millionaire quiz 23

Now, type the question and answers for the first question slide. Remember to set the correct answer by double-clicking one of the already-invisible radio buttons. There is a good trick for you. Double-click the correct answer and notice the Default state in the Object States pane. The Default state of the correct answer will be the Normal Checked.

2. Control the Behaviors of Answers

As explained earlier, learners will interact with the invisible radio buttons while seeing the multi-state hexagons. Thus, you’ll add events to the radio buttons to control the appearance of the hexagons. You’ll work on three events: On Rollover and On Rollout (for the hover effect) and On Check (for the click effect).

The effects work as follows:

  • Hovering over an unselected answer makes it lighter (the Hover state). The selected answer remains yellow (the Selected state).
  • Clicking an answer turns it to yellow. A click sound plays.
  • The answers are mutually exclusive just like radio buttons in a Multiple Choice question.

Below are the interactions added to one radio button:

millionaire quiz 24

3. Assess the Questions

In this part, you’ll work on three events including the On Correct, On Incorrect, and On Incomplete to assess the questions. The idea is add events and actions to the first question slide (the model), and later on, when you copy and paste this question slide to get the 14 other questions, just update the actions.

The interactions are as follows:

  • When learners give either a correct or an incorrect answer: The On Correct/On Incorrect event occurs and triggers three actions. They reveal and highlight the correct answer and continue the already-paused presentation.

millionaire quiz 25

By default, the question is paused just before hiding. But in this case, because the highlight effect takes time, you need to prolong the duration after the slide continues and before it ends.

millionaire quiz 26

  • When learners click the Submit button without giving answer: The On Incomplete event occurs and triggers the Show Object action to display the Submit Hint message.

millionaire quiz 27

4. Create the Remaining Interactions

You’ll execute some scripts at the beginning and end of the question slides (when the On Load and On Unload events occur, respectively).  You’re recommended to write the scripts in the Project Properties dialog > Event tab (ActivePresenter button > Project > Properties). That way, you’ll find it more convenient to edit them at any time.

  • When the question slide starts: The On Load event occurs and executes the prez.loadQuiz() function. This function gets the total score, then uses it to highlight the corresponding value in the money tree and calculate the total sum in the bank.

millionaire quiz 28

if (!prez.loadQuiz) {
    prez.loadQuiz = function() {
        var score = prez.variable('apQuizScore');
        if (score !== undefined) {
            for (var i = 1; i <= 15; ++i) {
                var objectName = 'level ' + i;
                var object = prez.object(objectName);
                if (object) {
                    if (i == score + 1) {
                        object.state('Highlight');
                        object.animate(AP.EffectType.PULSE, 500);
                    } else {
                        object.state('Normal');
                    }
                }
            }
            
            // Money
            var arrMoney = ['$ 0', '$ 100', '$ 200', '$ 300', '$ 500', '$ 1,000',
                            '$ 2,000', '$ 4,000', '$ 8,000', '$ 16,000', '$ 32,000',
                            '$ 64,000', '$ 125,000', '$ 250,000', '$ 500,000', '$ 1 MILLION'];
            var moneyObject = prez.object('Money');
            if (moneyObject) {
                moneyObject.text(arrMoney[score]);
            }
        }
    }
}
  • When the question slide ends: The On Unload event occurs and executes the prez.unloadQuiz() function. This function gets the total score and calculates whether the learner passed or failed. If the learner passed, he’ll move on to the next question. Otherwise, he’ll jump to the Failure slide.
if (!prez.unloadQuiz){
    prez.unloadQuiz = function() {
        var score = prez.variable('apQuizScore');
        if (score !== undefined && score != 15) {
            var passed = prez.currentSlideIndex() - 1 == (score + 2); // Include 3 first slides
            if (!passed) {
                prez.showSlideAt(2); // Failure slide
            }
        }
    }
}

At this point, you’ve done creating the model question slide. Now copy and paste it to get the 14 others. As the Millionaire Quiz is increasingly difficult, divide 15 questions equally into three levels: easy, moderate, and difficult. Then, change the question and answers in each slide. After that, change the correct answers and modify related actions.

Step 4: Randomize Questions

You want your Millionaire Quiz to be dynamic. Five easy questions come first, and next are five moderate questions following by five difficult ones – but all questions should appear at random. For that to happen, you’ll use slide pools and random slides.

You’ll create three slide pools of increasing difficulty and move question slides into corresponding pools. After that, insert 15 random slides into your project to draw questions randomly from the pools. Perform the following:

Step 1: Open the Slide Pools pane (View tab > Slide Pools).

millionaire quiz 31

Step 2: Pool 1 already exists. Click Rename to rename it to Level 1. It’ll be the less difficult pool containing the first five easy questions.

millionaire quiz 32

Step 3: Click Add to create the two other pools. Name them Level 2 and Level 3.

millionaire quiz 33

Step 4: Move five easy, five moderate, and five difficult questions into the Level 1, Level 2, and Level 3 pools, respectively. To do that, right-clicking question slides > Move Slide To > Level 1/2/3.

millionaire quiz 34

Step 5: Insert 15 random slides into the project (Slide tab > Random Slide). Place these random slides below the Welcome and Failure slides and above the Congratulations slide.

millionaire quiz 35

Step 6: Draw questions from pools. In the Slides pane, select the first five random slides, go to the Properties pane > Slide Properties > Linked Pool > Level 1. Similarly, link the next five random slides to the Level 2 pool and the last five random slides to the Level 3 pool.

millionaire quiz 36

millionaire quiz 37

As a side note, you can make your Millionaire Quiz more unpredictable by adding more questions to each pool while still pulling five questions from the pool.

At this point, you’ve mostly completed the journey. The last tasks are preview your game and export it.

Step 5: Export the Project to HTML5

In this last big step, you’ll preview your game to make sure it work properly and then export it.

1. Preview the Project

Previewing the project during and after the editing process allows you to review your work and notice any required changes. From the Home or Export tab, click HTML5 Preview and choose either the Tutorial, Practice, or Test mode. Don’t preview in the Demonstration because this mode is viewable only.

millionaire quiz 38

2. Export the Project

Once you’re sure of your work, export it to HTML5 (Export tab > HTML5). You can also choose to pack the project into a SCORM/xAPI-compliant package so that you can upload the package to an LMS. Before exporting, you may want to customize the player (Export tab > Player Settings).

millionaire quiz 39

Let’s say you want to embed your Millionaire Quiz into a WordPress post or page as shown below:

millionaire quiz 40

As can be seen, there is no player toolbar or any kind of assessment. The quiz is just for entertaining. To get the *.html output like that, take note of the following:

  • Hide the player toolbar in all operation modes (Export tab > Player Settings > Clear the Show Toolbar check box).

millionaire quiz 41

  • Export the project in either the Tutorial, Practice, or Test mode. In this case, these three modes function the same. Don’t use the Demonstration because this mode is not interactive but only viewable.

millionaire quiz 42

Besides, you can use your Millionaire Quiz as a learning tool in game-based learning. For example, the quiz can act as a prior knowledge recall at the beginning of a lesson, or a challenging mini-quiz inside another lesson. In this case, you’d better pay more attention to grading and reporting methods. You need to determine the pass/fail condition for the quiz, set the time limit if you want it to be a test, and so forth. That said, the first and foremost thing to consider is the questions themselves – they must be relevant to the learning topic and align with the course objectives.

Final Thoughts

That’s how we designed the Millionaire Quiz. Now it’s your turn. Free your creativity and make your very own version. Create a host, add a time limit, aid learners with the four so-called lifelines, and so forth. ActivePresenter can handle all things for you. Give both ActivePresenter and the Millionaire Quiz a try and don’t forget to share your work with us. If you have any questions or feedback, ask us and we’ll help you out.

Start creating interactive elearning contents with ActivePresenter now!

ActivePresenter Pro EDU

$199

ActivePresenter Pro

$399

Pin It on Pinterest