I want to create a main menu that will provide a prompt of which topic to click. For example, after the user completes topic 1 and has returned to the main menu an arrow will appear next to topic 2 saying 'click here.'
I would create an "Indicator" object with various states that change as the topics are completed. See attached a quick example that I adapted from a previous file. The main menu has five topic buttons. At the end of each topic, a variable is set to true to signify completion of that topic. Back at the main menu, the state of the Indicator object is changed to point to the next topic, based on the value of the completions variables. Hope that makes sense.
One solution could be to use variables and states/layers. For example, you can create a variable that is set to false, then change it from false to true when the user completes topic 1. Then, when they return to the menu, a state change for the menu button or a slide layer is triggered on the condition that that variable is equal to true.
Shouldn't be too complicated - for each topic/menu item you would need:
- a variable
- a trigger to change the variable to true at the end of the topic
- a state change or layer with a prompt for each menu item
- a trigger to prompt that state change or layer
- a trigger to set the variable back to false so that the current prompt does not appear again
Someone else might have a simpler solution, but that was what came to mind.
5 Replies
Hi Ellen, welcome to the community!
I would create an "Indicator" object with various states that change as the topics are completed. See attached a quick example that I adapted from a previous file. The main menu has five topic buttons. At the end of each topic, a variable is set to true to signify completion of that topic. Back at the main menu, the state of the Indicator object is changed to point to the next topic, based on the value of the completions variables. Hope that makes sense.
Hi Ellen -
One solution could be to use variables and states/layers. For example, you can create a variable that is set to false, then change it from false to true when the user completes topic 1. Then, when they return to the menu, a state change for the menu button or a slide layer is triggered on the condition that that variable is equal to true.
Shouldn't be too complicated - for each topic/menu item you would need:
- a variable
- a trigger to change the variable to true at the end of the topic
- a state change or layer with a prompt for each menu item
- a trigger to prompt that state change or layer
- a trigger to set the variable back to false so that the current prompt does not appear again
Someone else might have a simpler solution, but that was what came to mind.
Hi Ellen,
I just wanted to welcome you to Heroes and it looks like Michael and Allison are assisting you here. If you need anything else, please let us know.
Thanks for your quick replies! I will try both solutions out.
Thanks again!
Thanks Ellen and keep us posted.
This discussion is closed. You can start a new discussion or contact Articulate Support.