|Page (1) of 4 - 10/12/04||email article||print page|
DVD Studio Pro Scripting, Part 2Creating a score counter for interactive quizzes
For this example, we're going to create an interactive quiz consisting of five questions. Those who score four out of five correctly will gain access to a special feature on our DVD, while those who can't do so will be offered a chance to try again or just give up and return to the main menu. In order to do this, we're going to create three scripts, plus however many menus we consider appropriate for presenting the questions and providing feedback.
Before you get started, if you haven't done so already, you might want to go back and read the first installment in this series, DVD Studio Pro Scripting, Part 1. Otherwise continue on. Incidentally, in case you're eager for more, our next installment in this series (to be posted next week) will add a timer to this quiz for even more fun ... or frustration, depending on how you view these kinds of things.
For this particular project, we need to create a total of eight menus. They are as follows: The introductory splash screen; one menu for each question in the quiz (five total); and two splash screens to announce the results of the quiz (one for success, one for failure). Here are the details of the individual menus.
The introductory splash screen will consist of just a background and a single button to get the quiz started, though you might also add a button for users who want to go back to the main menu rather than proceeding.
The menus for each of the questions will consist of a background graphic, some text (the question itself) and four possible answers, each one being its own button.
And then the final splash screens will each announce the results of the quiz. The "success" splash screen will then include two buttons: one to link to the special bonus feature as a reward for completing the quiz successfully and one linking to the main menu. The "failure" screen will include a "try again" button, which will link to the introductory screen once again, as well as a "main menu" button for those too frustrated to go on.
Here's how the elements are viewed thusfar in my Outline view.
With the exception of the "main menu" and "try again" buttons, none of these buttons will be connected to any fixed target; rather, they'll connect to scripts, which we'll create in the next section.
Related Keywords:apple dvd studio pro, dvdsp, scripting, interactive, quiz, game
Source:Digital Media Online. All Rights Reserved