What is an easy way to be able to make an easy multiple choice quiz game? can someone either explain how or post the link to a simple script asking questions and having different answers, one of which is right
thanks a lot folks
Offline
Try just asking a question, if answer = correct answer change points by 1.
Offline
Prestige wrote:
Try just asking a question, if answer = correct answer change points by 1.
I don't think that's what JVCaptain is going for here. He/She wants a multiple choice game. You could try this though, have separate sprites for each answer, A, B, C, and D. Have each of these sprites change costumes according to the question, each with a possible answer. You will need a question variable to do this. Then have a,
When [answer A] clicked if < (question) = [2]> broadcast [ correct v] change [question v] by [1] else broadcast [ incorrect v]Just have this script for all the answer sprites. You will need to change the number of the question for each one, but that's it.
Offline
Make a different costume for four sprites that are the answers for every different level. Make a different background for every different level as well.
For the background:
When flag clicked:
Forever:
Set background to (level)
Or if you have a main menu background:
When flag clicked:
Forever:
Set background to (background#+1)
For the sprites:
When flag clicked:
Forever if:
Level = level x
If (mouse down and touching mouse pointer)
Change (score) by 1
Change (level) by 1
If touching (mouse pointer) and (mouse down) and (level = x or level = y or level = z)...
Broadcast - Incorrect answer - Meaning do whatever you choose to do
Offline