For gamification purpose I would like to personalize images according to certain variables (for example result of a quiz) - for example give one stars for every 25 points gained in quiz. How could this be done? Thanks.
I'd probably use one image with multiple states for this. so one state shows no stars, the next state 1 star, and so on. then a change state trigger which would change the state based on the quiz result variable.
So change state of stars image to 0 stars if quizresult is between 0 and 24
then another variable
Change state of stars image to 1 stars if quizresult is between 25 and 49
I have attached a SL360 file that has five questions in it. Each question has 20 points associated with a correct answer.
Each time a user answers correctly the Correct feedback layer opens and 20 points are added to a variable called 'score'.
The final slide displays the results. On this slide there is also an image that has five states, showing 1-5 stars. When this slide loads there is a trigger that tells the image to display a particular state depending on the Score.
Have a look at the file, see if it and my explanation above help but if you have any questions please let me know and I'll try my best to help.
6 Replies
I'd probably use one image with multiple states for this. so one state shows no stars, the next state 1 star, and so on. then a change state trigger which would change the state based on the quiz result variable.
So change state of stars image to 0 stars if quizresult is between 0 and 24
then another variable
Change state of stars image to 1 stars if quizresult is between 25 and 49
etc.
hope this makes sense!
Roddy
Hi Pollux,
I have attached a SL360 file that has five questions in it. Each question has 20 points associated with a correct answer.
Each time a user answers correctly the Correct feedback layer opens and 20 points are added to a variable called 'score'.
The final slide displays the results. On this slide there is also an image that has five states, showing 1-5 stars. When this slide loads there is a trigger that tells the image to display a particular state depending on the Score.
Have a look at the file, see if it and my explanation above help but if you have any questions please let me know and I'll try my best to help.
Great minds Roddy ...
I realise that probably made no sense, so here is a story file to demonstrate.
This post was removed by the author
Haha, just beat me to it David!
Brilliant, Roddy and David! I'm really enlighted!
This discussion is closed. You can start a new discussion or contact Articulate Support.