I'm working on a quiz right now, and really needed to know if it's possible to show current quiz score on current slide when user submits the interaction.
In my case,
The user will choose one of the options, if the answer is correct, "Your Score: X" text will update itself. If it's not correct, it will stay the same.
Thanks for the answer but what I'm trying to do is something different.
On the question slide, there's a scoreboard that shows the user's current score. When the user answers the question, scoreboard will update itself automatically. Firstly, are there any chances for me to show the score (I mean the score which user has that time) in question slides? Secondly, is it possible to update the score by submitting interaction?
Is this what you're thinking? The attached was created using SL1, but of course could work the same in SL2. VERY plain vanilla .story...all function, no "form."
There are 3 quiz slides.
I created a number variable, default value = 0; I called it SCORE
Slide 1 is T/F
Added a trigger: Add 5 points to SCORE when the user clicks submit if True=selected
Slide 1 is MC
Added a trigger: Add 5 points to SCORE when the user clicks submit if apples=selected
Slide 1 is MR
Added a trigger: Add 5 points to SCORE when the user clicks submit if broccoli=selected AND green pepper=selected
So in order to do this, you need to manually set up your own Score variable, which is incremented when a correct answer is clicked? Seems fiddly. Is there no way that user's current score (which Studio keeps track of automatically) can be accessed as a variable?
What I'm trying to achieve is to get a running total to appear on every feedback slide (e.g. "You have now correctly answered 5 out of 8 questions").
It seems to rely on having a Results slide though. What if we want a game with a running score but no final results screen? Is there a way to get rid of the Results slide without getting rid of the associated variables?
You will need the Results slide but, you don't have to show it. Just attach a trigger to the Submit button on the last question to jump to a final slide.
Brilliant, makes sense. Alternatively I guess I can create a blank 'results' slide and use it for content other than results.
Final question... is there a way of automatically retrieving the total possible score in a quiz? (The 8 in "You have correctly answered 5 out of 8 questions.") This can obviously be worked out manually, but it would be a lot easier and more reliable to be able to create a generic template that worked for all quizzes.
I'm glad Seth was able to assist you here as the results variables are not accessible within Storyline to adjust or access throughout. It's been something that other users have shared their thoughts on in the form of a feature request and you're welcome to chime in here as well.
11 Replies
Hello Serhat, and welcome to Heroes!
In order for a user to see a score from a quiz slide, you will need to enter a results slide to calculate the score.
Here is some information on how to do this.
Thanks for the answer but what I'm trying to do is something different.
On the question slide, there's a scoreboard that shows the user's current score. When the user answers the question, scoreboard will update itself automatically. Firstly, are there any chances for me to show the score (I mean the score which user has that time) in question slides? Secondly, is it possible to update the score by submitting interaction?
Hi Serhat,
Is this what you're thinking? The attached was created using SL1, but of course could work the same in SL2. VERY plain vanilla .story...all function, no "form."
There are 3 quiz slides.
I created a number variable, default value = 0; I called it SCORE
Slide 1 is T/F
Added a trigger: Add 5 points to SCORE when the user clicks submit if True=selected
Slide 1 is MC
Added a trigger: Add 5 points to SCORE when the user clicks submit if apples=selected
Slide 1 is MR
Added a trigger: Add 5 points to SCORE when the user clicks submit if broccoli=selected AND green pepper=selected
Please shout out with any questions.
Hi Rebecca,
That is what I was thinking. Thanks for the answer. So I should use default Quiz variables to get the current score.
Hi Serhat,
I'm not sure what you mean about default quiz variables...sorry.
The "score" variable is one I created. It adds points if Learners answer quiz questions correctly, and does nothing if they answer incorrectly.
If that's not what you're asking, please pursue your question, and if I can't answer it, perhaps someone else can.
So in order to do this, you need to manually set up your own Score variable, which is incremented when a correct answer is clicked? Seems fiddly. Is there no way that user's current score (which Studio keeps track of automatically) can be accessed as a variable?
What I'm trying to achieve is to get a running total to appear on every feedback slide (e.g. "You have now correctly answered 5 out of 8 questions").
Andrew,
Examine the attached file.
Cheers
Excellent, thanks! This does what I wanted.
It seems to rely on having a Results slide though. What if we want a game with a running score but no final results screen? Is there a way to get rid of the Results slide without getting rid of the associated variables?
You will need the Results slide but, you don't have to show it. Just attach a trigger to the Submit button on the last question to jump to a final slide.
Brilliant, makes sense. Alternatively I guess I can create a blank 'results' slide and use it for content other than results.
Final question... is there a way of automatically retrieving the total possible score in a quiz? (The 8 in "You have correctly answered 5 out of 8 questions.") This can obviously be worked out manually, but it would be a lot easier and more reliable to be able to create a generic template that worked for all quizzes.
Hi Andrew,
I'm glad Seth was able to assist you here as the results variables are not accessible within Storyline to adjust or access throughout. It's been something that other users have shared their thoughts on in the form of a feature request and you're welcome to chime in here as well.
This discussion is closed. You can start a new discussion or contact Articulate Support.