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.
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.