Help with creating a Quiz game
So I'm trying a new genre of gaming, and it's already proving to be difficult
This is just a sample of a question, but basically, I'm trying to create a multiple choice quiz type game, and you have 4 pictures, let's say 4 different types of fruit, apple, orange, banana, and grapes.
The question is: Which fruit has the most Vitamin C
Answer is apple
So far I've created 2 boolean attributes:
Game.AnswerIsTrue and Game.AnswerIsFalse
I have under the orange icon (correct answer)
When any conditions are valid: actor receives event, mouse button is down:
Change attribute: Game.answer To: TRUE
Then I have a separate actor controller that I dragged into the scene (invisible)
And it has these rules:
When an attribute changes: Answeriscorrect is : True
Display Text: Great job!
Timer: After 5 seconds:
Change scene: Go to scene 2 (level 2)
Well that works just fine!
The problem is that I tried creating a boolean attribute Game.AnswerIsFalse, and tried to apply that to the other fruits as an incorrect answer, and it doesn't work
I basically put these rules under the other fruits (wrong answers)
Whem mouse button is down, Change attribute: Game.Incorrectanswer to: True
and under the scene editor, did an attribute changes, game.incorrectanswer is true
Display text: Game over! and change scene to initial scene
But it doesn't display game over, it displays the text, Great Job!
What am I doing wrong?
Do I need to create different attributes
Any help is appreciated if anyone has attempted this genre of gaming!
This one's for you Quantum!
Or JGary!
This is just a sample of a question, but basically, I'm trying to create a multiple choice quiz type game, and you have 4 pictures, let's say 4 different types of fruit, apple, orange, banana, and grapes.
The question is: Which fruit has the most Vitamin C
Answer is apple
So far I've created 2 boolean attributes:
Game.AnswerIsTrue and Game.AnswerIsFalse
I have under the orange icon (correct answer)
When any conditions are valid: actor receives event, mouse button is down:
Change attribute: Game.answer To: TRUE
Then I have a separate actor controller that I dragged into the scene (invisible)
And it has these rules:
When an attribute changes: Answeriscorrect is : True
Display Text: Great job!
Timer: After 5 seconds:
Change scene: Go to scene 2 (level 2)
Well that works just fine!
The problem is that I tried creating a boolean attribute Game.AnswerIsFalse, and tried to apply that to the other fruits as an incorrect answer, and it doesn't work
I basically put these rules under the other fruits (wrong answers)
Whem mouse button is down, Change attribute: Game.Incorrectanswer to: True
and under the scene editor, did an attribute changes, game.incorrectanswer is true
Display text: Game over! and change scene to initial scene
But it doesn't display game over, it displays the text, Great Job!
What am I doing wrong?
Do I need to create different attributes
Any help is appreciated if anyone has attempted this genre of gaming!
This one's for you Quantum!

Comments
My problem is the last part I wrote:
The problem is that I tried creating a boolean attribute Game.AnswerIsFalse, and tried to apply that to the other fruits as an incorrect answer, and it doesn't work
I basically put these rules under the other fruits (wrong answers)
Whem mouse button is down, Change attribute: Game.Incorrectanswer to: True
and under the scene editor, did an attribute changes, game.incorrectanswer is true
Display text: Game over! and change scene to initial scene
But it doesn't display game over, it displays the text, Great Job!
What am I doing wrong?
Do I need to create different attributes
Any help is appreciated if anyone has attempted this genre of gaming!
This one's for you Quantum!
Did you continue with this project ?