I am trying to create a game in Storyline that needs this functionality:
On slide 1, the user selects up to 17 elements to include in their game.
On slide 2, those elements are displayed on the game board.
Does anyone have advice for the best way to do this?
I'm adding check boxes on slide 1, and trying to get them to trigger states as either hidden or displayed on slide 2 - but that doesn't seem possible. I'm not sure if I'm doing this approach wrong, or if there is a better way?
Checkboxes are a good place to start. But you'll need to add variables. For example:
Create a T/F variable for each of the 17 elements. Start with a default value of False.
On slide 1, add triggers to the Next button that adjust the variables to True with the condition that the associated checkbox is in the Selected state. (Note: be sure to put these triggers before the trigger that jumps to the next slide!)
On slide 2, set all the elements to have an Initial State of Hidden.
Then add "when timeline starts" triggers that show each element, but give each trigger a condition so it only executes when the associated variable = True.
@Judy Nollet - This is incredibly helpful; thank you so much!
What you wrote out worked - the only change is that I had to set the default variable value to FALSE. Otherwise, the elements all showed up on Slide 2.
Ooops. I meant to say start with False, but somehow I typed True. Sorry for the confusion, but I'm glad you figured it out.
FYI: I edited my comment above, so the instructions are correct. Just in case someone else stumbles upon them, but who wouldn't notice my mistake like you did.
3 Replies
Hi, Laura,
Checkboxes are a good place to start. But you'll need to add variables. For example:
For more info about conditions and variables:
@Judy Nollet - This is incredibly helpful; thank you so much!
What you wrote out worked - the only change is that I had to set the default variable value to FALSE. Otherwise, the elements all showed up on Slide 2.
Hi, Laura,
Ooops. I meant to say start with False, but somehow I typed True. Sorry for the confusion, but I'm glad you figured it out.
FYI: I edited my comment above, so the instructions are correct. Just in case someone else stumbles upon them, but who wouldn't notice my mistake like you did.