Forum Discussion

LeonardSaucier's avatar
LeonardSaucier
Community Member
1 day ago
Solved

Animated path and variable changes

Trying to have a little fun with this one and I am racking my brain on two issues.    1- I set an animation path to move a video off screen once the learner moves the slider, The slider then open...
  • 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.