Setting Up the Quiz

Back to the
How To index

About SC Simple Quiz
Get Started
A Field For Questions
Adding Answers
Scripting the quiz
Setting Up the Quiz
Counting Scores
Further Developments

.
We now have the a very basic quiz.
To add questions we just add cards (New Card from the Edit menu or command-N) and on each card, type the question into the field at the top and add buttons for the possible answers, remembering to add scripts for the right and wrong answers to the buttons.
on mouseUp
	 WrongAnswer
end mouseUp
or
on mouseUp
	 RightAnswer
end mouseUp
What is more you do not need to use buttons, you can add any SuperCard object, eg graphics, and put the scripts into them.

Card Screenshot

You can have as many answers as you have room for on the card, as long as one of them has the rightAnswer script and the rest the wrongAnswer script.

Next we are going to get the quiz to count scores

PREVIOUS NEXT