Speedernet Sphere gives you the opportunity to show the variables’ values, according to the user’s progress in the experience. This can be used for many reasons, such as:
- Allow users to track their own progress
- Create an engaging environment
I suggest you watch this video about one of the use cases of variables in a dynamic text :
Here is a summary of the steps to follow:
- Create a variable: start by creating a variable. In the example, I use a “number” variable, called “counter”.
- Create a text item: then, create a text item!
- Write your text including the name of your variable between brackets, just like that:
{counter}. In our example, we are going to write : “You have clicked {counter} times on this button”.
- Create an item to trigger the modification of the variable value: Now that you variable and your dynamic text are created, add an item to trigger the modification of the variable value. In our example, it is a button (an image item) that changes the variable value following the click.
- Create a conditional: Move to the “Scenario Mode” to add the conditional. In the conditional, specify that 1 is added to the “counter” variable when the image is clicked.
Now, all you need to do is test your experience. When you click on the button, the text is automatically updated according to the number of times you have clicked on the button.
Now it’s you turn!
Don’t hesitate to share your comments on this feature! 👨💻👍
See you soon for the next tutorial. 😃
Comments
0 comments
Please sign in to leave a comment.