top of page

How to use variables for elearning gamification

Adding game mechanics to elearning is great way to keep your learners engaged and motivated. However, you don’t necessarily have to learn any new software to create a game-like experience in your elearning! Many game features such as achievements, points and badges can be done right in Storyline with variables.

What exactly is a variable?

Variables are like a placeholder for a piece of information that the user will eventually populate with a value. The value is a form of information, and that can be used for other functions elsewhere in the elearning. With Storyline’s new trigger editing features, adding variables and conditions to your elearning is easier than ever.

There are three types of variables that determine what kind of information the variable will hold.

  1. True/False: there are only two possible values. This can be used to track Yes/No types of information, i.e.: if the slide has been completed, if an object is selected, etc.

  2. Text: this variable contains text values. This can be used for things such as name input or other text that can be changed.

  3. Number: this variable contains numerical values. This is a great way to track points, progress, calculations, and other functions.

With these variables, you can have learners enter their name for customized badges, achievements or certificates, tally points from completing activities or quizzes, and other interaction data.

When you want to display any of these values in the elearning, create a text box that contains the name of the variable with % signs at either end. For instance, if you have a variable to keep track of the learner’s points called GameScore, you would display this on screen as %GameScore%. This text box will populate with whatever the value of GameScore is and updates as it changes so your learners can see how they’re doing!


Featured Posts
Recent Posts
Search By Tags
Follow Us
  • Facebook Basic Square
  • Twitter Basic Square
  • Google+ Basic Square
bottom of page