Is there a way to make time a variable in scoring? I am trying to add a gaming edge to my course by letting my learners earn more points when they answer fast.
Could be something I overlooked? I am new at Storyline.
You could potentially do this using 2 different layers that are in an infinite loop. Here is what I'm thinking:
1. create 2 layers that trigger 'Show layer' when timeline ends (layer 1 points to layer 2, layer 2 points to layer 1).
2. Create a variable that starts at 100
3. Create a trigger in each variable that subtracts 1 from the variable 'when timeline ends'
4. Set the timeline length of each layer to 1 second
You can then use that variable to record a score for that particular question. You can create a different variable for each question and create an average at the end, or something else that makes sense.
I attached an example that also includes an initial layer that hides the answers until a begin button is pressed. That initial layer triggers the countdown by pointing to the first count layer which subtracts 1 from the variable and then goes to count 2 whcih does the same. That loop goes on indefinitely, but you could add some extra scripting that keeps the variable from going below 0.
That would definately work. The downside is that pretty much blocks all other use of layers I have.
Having a timer function or object would of course be more elegant. I sort of assumed this would be a part of Storyline, as it was with other eLearning software I used.
I came up with a different solution, inspired by Josh's tip.
I created 20 small objects and timed them to disappear one after the other. I then added triggers to subtract a point from the maximum score for the disappearance of each object. I used them as an animation, but you could easily use them hidden.
In this case, I allow my learners to retry the excercise as often as they'd like. But for each time they choose the wrong answer, I subtract some points as well.
The sheet I created now serves as a basic template for scoring. I have created variables and formulas for these components:
- Maximum achievable score
- Time decrement (points per second)
- Minimum achievable score (they are going to have to get it right to continue and should get at least some points)
- Wrong answer decrement
I also built toggles:
- to disable the timing component (and hide all timing objects)
- to disable the wrong answer decrement
- to disallow retrying to get a higher score
Most of the variables are re-usable. Some are sheet specific, like QuestionHighScore. I made sure that learners can't lose points by retrying a question and doing worse.
I translated the variables for your benefit. You can view the variable values during preview by pressing ctrl-0 (zero). The content is still in Dutch.
All in all a pretty effective bypass of all built-in quizzing options Now for exporting the data to our LMS ... (I'll work on that next week)
5 Replies
You could potentially do this using 2 different layers that are in an infinite loop. Here is what I'm thinking:
1. create 2 layers that trigger 'Show layer' when timeline ends (layer 1 points to layer 2, layer 2 points to layer 1).
2. Create a variable that starts at 100
3. Create a trigger in each variable that subtracts 1 from the variable 'when timeline ends'
4. Set the timeline length of each layer to 1 second
You can then use that variable to record a score for that particular question. You can create a different variable for each question and create an average at the end, or something else that makes sense.
I attached an example that also includes an initial layer that hides the answers until a begin button is pressed. That initial layer triggers the countdown by pointing to the first count layer which subtracts 1 from the variable and then goes to count 2 whcih does the same. That loop goes on indefinitely, but you could add some extra scripting that keeps the variable from going below 0.
Thanks Josh for that creative solution.
That would definately work. The downside is that pretty much blocks all other use of layers I have.
Having a timer function or object would of course be more elegant. I sort of assumed this would be a part of Storyline, as it was with other eLearning software I used.
I came up with a different solution, inspired by Josh's tip.
I created 20 small objects and timed them to disappear one after the other. I then added triggers to subtract a point from the maximum score for the disappearance of each object. I used them as an animation, but you could easily use them hidden.
In this case, I allow my learners to retry the excercise as often as they'd like. But for each time they choose the wrong answer, I subtract some points as well.
The sheet I created now serves as a basic template for scoring. I have created variables and formulas for these components:
- Maximum achievable score
- Time decrement (points per second)
- Minimum achievable score (they are going to have to get it right to continue and should get at least some points)
- Wrong answer decrement
I also built toggles:
- to disable the timing component (and hide all timing objects)
- to disable the wrong answer decrement
- to disallow retrying to get a higher score
Most of the variables are re-usable. Some are sheet specific, like QuestionHighScore. I made sure that learners can't lose points by retrying a question and doing worse.
I translated the variables for your benefit. You can view the variable values during preview by pressing ctrl-0 (zero). The content is still in Dutch.
All in all a pretty effective bypass of all built-in quizzing options Now for exporting the data to our LMS ... (I'll work on that next week)
Excellent! Glad I could inspire
Here's a version with properly translated variables
This discussion is closed. You can start a new discussion or contact Articulate Support.