Please help with quiz variables and states

Mar 05, 2015

Hello everyone, I'm creating a bingo game in SL2. I have a bingo card slide, and as you click on a "?" on each square, you're sent you to a quiz slide (drawing questions from a question bank). If you answer the question correctly, I would like to send the user back to the bingo card slide, and have the "?" turn into a circle. If you get the question wrong, the question mark would turn into a red X. I have 25 question marks on the card, and I've created states for each appearance (normal, correct, wrong). Each question mark takes you to a different quiz, drawing questions from a different question bank. When you answer the question, I have a layer showing for incorrect or correct. I also have a continue button, which brings you back to the bingo card, where you can choose another question to answer. 

But I can't seem to program the triggers or variables to change the state of the "?" on the bingo card to either correct or wrong when the user gets back.

I'm new to SL2, and have been watching the tutorials on triggers, states, and variabls, but can't seem to figure out how to accomplish this. Any help or  ideas would be greatly appreciated! Thanks so much!

 

 

2 Replies
Ashley Terwilliger-Pollard

Hi Michelle,

Are you using a particular state associated with the ? mark element? I'd make the ? mark the normal state, and then the circle the visited state. You'll want to ensure that the slide's revisiting properties are set to "resume saved state" so that the user sees stuff as they left off. 

If you're still having difficulty, are you able to share a copy of your .story file here with us? 

Chris Cole

I think your logic will have to be something along these lines...

  • On each question slide, in each feedback layer, include a trigger to set a variable for that question, something like "Adjust variable bingo_question_01 to "wrong" in the incorrect fb layer, and "Adjust variable bingo_question_01 to "right" in the correct fb layer.
  • Back on the bingo card slide, add a slide trigger to check each variable and adjust the state of each circle accordingly. Something like "Change the state of Oval "x"  to "wrong" when the timeline starts if bingo_question_01 = "wrong" and so on.

I don't think there is an elegant way to automate any of that in Storyline, so you'll have to set this up for each variable on your bingo card slide and for each feedback layer on each quiz slide.

This discussion is closed. You can start a new discussion or contact Articulate Support.