Forum Discussion
Multi attempt quiz featuring clickable objects
I'm building a quiz based on the attached screengrab.
I want to award 16 points for clicking the correctly coloured square on attempt 1, all the way down to 1 point for selecting the correct square on attempt 16.
There will be a total of 16 "select the colour" questions just like the one in the attached file. I want to feature an updating score counter as the user progresses through the quiz.
I've only been using Storyline for a few weeks. I'm prepared for a steep learning curve, but before I dive into hours of tutorials, is this even possible to achieve? If so, can you point me to any tutorial resources?
Thank you.
- SandeepGadamCommunity Member
Greetings, Neil. The attachment wasn't there.
- NeilLeslie-1f95Community Member
- JudyNolletSuper Hero
Hi, Neil,
What you want to do is possible with Storyline. You'll need to get very comfortable with number variables and trigger conditions.
Here's one possible way to program this:
- For a given slide, create a number variable with a default value of 16.
- Add triggers to the "wrong" colors that subtract 1 from that variable when they're clicked. In other words, those triggers reduce the score when the user clicks the wrong color. Thus, whatever the number is when the user clicks the correct color will be the final score for that slide.
- You'll also need to add other triggers to disable a color after it has been clicked, to prevent the score from going down if the user accidentally clicks it again. And you'd probably want to prevent clicking other colors when the user clicks the correct one, too.
- Disabling could be done by using a Disabled state. That's what I'd do. And I'd add an "X" to that state to indicate it's been clicked.
- You could also disable a color by hiding it. Or by covering it with another object. (You'll find there are often multiple ways to accomplish something. The "best" method is one that works for you.)
- To keep a running score of all the slides, add the slide-specific number variables together in a "total" number variable.
And if none of that makes sense, well, that's the "steep learning curve" you mentioned. :-)
Here's some basic info about conditions and variables in the User Guide:
- https://community.articulate.com/series/articulate-storyline-360/articles/storyline-360-working-with-triggers#conditions
- https://community.articulate.com/series/articulate-storyline-360/articles/articulate-storyline-360-user-guide-how-to-work-with-variables
- There's also this tutorial about variables: https://training.articulate.com/videos/storyline-360-variables
I'm sure there are other on-demand videos that cover these topics.
This post is about a tracking custom questions/surveys. It doesn't apply exactly to what you want to do, but the demo might be helpful:
Good luck!
- NeilLeslie-1f95Community Member
Judy, thank you so much!
Learning curve, here I come!