Forum Discussion
Determine which slide user came from
Hi,
I'm creating a module where there are 12 questions, and each time the learner gets a question right, a puzzle piece fills in.
I have the puzzle slide on a separate Scene. I am trying to make it so it will jump to the correct question in Scene 1. So if they get Q1 right, they see the puzzle after clicking next and the first piece is filled in.
The issue I'm having is how to have the puzzle slide determine which question to go to in Scene 1? I tried variables, that didn't work (i.e., Q1 = True) because the next time in the puzzle slide (after answering Q2) Q1 is still true and after the puzzle it goes to Q2 again, instead of Q3.
I tried using the state of the puzzle pieces, but it always goes to Q2 because the trigger for Q1's state comes first.
I am at a loss. Maybe I designed the navigation poorly?
Thanks,
Sanju
Hi Sanju,
You can use a lightbox to display the puzzle. That way, you don't need to consider the navigation issue. They will return to the question slide when close the lightbox. And if you’d like users to automatically move on to the next question when they close the lightbox, simply add a trigger to jump to the next slide right below the lightbox trigger.
6 Replies
- JudyNolletSuper Hero
Instead of using multiple T/F variables, consider using one text variable instead. For example, whatever currently changes Q1 to True would instead change the text variable to "Q2" (to represent the question to jump to).
- ST_01Community Member
Thanks!
Would the puzzle pieces still have a Normal state?
Would it be easier to have multiple puzzle slides, one for each question, or is that way to clumsy?
I need the pieces to stay visible once they first appear. So next times you go to the puzzle the pieces that became visible are still visible.
- JudyNolletSuper Hero
Every object has a Normal state. It can't be deleted. However, you don't have to show an object's Normal state.
There are usually multiple ways to accomplish the same thing in Storyline. Based on your description, it sounds like you could set the Initial state of each puzzle piece to Hidden.
Trigger the change to the Normal state when appropriate.
Note that it's also much easier to troubleshoot an issue by looking at all the programming. Here are the best practices for uploading a .story file:
- Only include slides that are related to the problem.
- Be sure objects, layers, motion paths, and variables have meaningful names.
- If there is proprietary content, replace or delete it. For example, replace proprietary text with “ipsum lorem” text.
- If you haven’t already done so, be sure to clearly describe the following in the file and/or in the comment with the attachment: What you want to happen, what is not happening that should happen, what is happening that should not happen, and what you have already tried.
By the way, if you do have more questions, consider starting a new discussion. That increases its visibility, which makes it more likely to get replies from multiple folks with different ways to approach the problem. Having each new question in its own discussion thread also makes it easier for others to find potential solutions when they have a similar problem.
- JoanneChenSuper Hero
Hi Sanju,
You can use a lightbox to display the puzzle. That way, you don't need to consider the navigation issue. They will return to the question slide when close the lightbox. And if you’d like users to automatically move on to the next question when they close the lightbox, simply add a trigger to jump to the next slide right below the lightbox trigger.- ST_01Community Member
Thanks Judy and Joanne.
Using lightboxes will solve my issue? How do I trigger a specific piece of the puzzle to become visible when the user gets a specific question correct?
Variables and states give me the issue (I need the pieces to stay visible once they first appear. So next times you go to the puzzle the pieces that became visible are still visible.).
When I use variables the Q1 var is still true in Q2.
Should I reset Q1 to false at the start of Q2? But wouldn't that make the first puzzle piece hidden? I have all pieces hidden to start.
Maybe I should open a case?
- ST_01Community Member
Actually I think I got it to work!! Thanks to both of you!!
Related Content
- 11 months ago