Forum Discussion
Animated path and variable changes
- 1 day ago
I'm happy to take on the challenge đ, LeonardSaucierâ . A small modified .story file is worth a thousand words, but basically, here's what I did.
-Since all the âbtn-continue 1â buttons have the same name and appearance on all layers (which is confusing), I took the liberty of coloring the one on the base layer red (the one youâre trying to make ânormalâ) and renaming it, to help me create a trigger later.
-You donât need the Showcontinue variable; you already have the Slider1 variable.
-To prevent the video from reappearing/disappearing on every layer, use this trick: click the small triangle below the list of objects on the layer, and uncheck the eye icon next to the video: This element will not be visible when the âFeet-Weight-Applicationsâ layers appear. Do this on every layer except on the first one because you need your âquick exitâ animation once. Look at the attached image: itâs in French, sorry, but youâll recognize your file.
-Finally, on the last âApplicationsâ layer, simply create a trigger: âChange the state of âBtn Continue on the base layerâ to Normal when the learner clicks on âbtn-Continue 1â.â Place this trigger before the trigger that closes this layer, just to be safe.
All done.
Andrew is right. We should do something to prevent the learner from dragging the slider too quickly to the top of the scale.
Thank you all for your insight. Here is what I did to solve the issues. I went button crazy
- Ensuring all layers are viewed before the continue button appears and revealing continue button- Created 4 more fake buttons off screen on the main layer. On each layer and named them differently (good eye) . When the continue on the layer is selected, I changed the state of the corresponding fake button on the main screen to visited.
- Then I created a trigger to show "main screen continue button" to normal when the 4 fake buttons are changed to the state of visited.
- Moving video along path- The "hide on base layer in layers" was probably the easiest way to go, but again.... buttons! Created a button and kept it off screen. Called it Fake button. Set a trigger to change the state of Fake button 1 to visited when slider one is clicked on.
- Then created a trigger, move the video along motion path 1 when the state of the fake button is visited. (no more repeating)
A little extra work, but i liked the flow. Thanks!
ThierryEMMANUELâ JudyNolletâ AndrewBlemingsâ Yall are awesome!