Possible to animate based on variable value?
Nov 02, 2018
By
Bruce French
So I have this object that has a bunch of questions to determine the users learning style. Each question adds 1 to one of 4 variables if selected when the user clicks next and then when you get to the end it gives you your preference for each aspect. simple enough. Is it possible in anyway to get an object to animate based on the values? Essentially what I'm thinking is something like the way you can get graphs to animate on powerpoint etc but in a more dynamic kind of way.
This is my test object
http://learn.nwrc.ac.uk/_teldemo/LearningStyles/test/1/story_html5.html
storyfile attached
Cheers
9 Replies
Hi Bruce,
I think there is no feature yet to animate object position based on a dynamic value.
But there's a way to mimic that scenario.
I have here a progress bar animation, Maybe you can implement it using this method.
You could use objects with custom states that are shown based on variable values. See this simple example here.
Hi,
Thank you Michael for sharing.
Here's my sample inspired by Michael's demo.
See attached Storyline file.
Yeah, that's basically what I've done. Was just hoping there was a way without animating by hand every option. That looks good though what you've done
Hi, unfortunately I cant open your file because it uses features i don't have (im on 3) but is it essentially a bunch of different things and then if box 1 = whatever then display corresponding graphic?
Hi Bruce,
By the way, here's the output of the file Generate_Bar_Graph.story published in360.
It looks like just the kind of thing i was thinking really. Any chance you could put a screenshot of how the triggers are set up or something? Do you just have different bar heights canned and triggered by which button is selected?
Hi Bruce,
On slide 1, you need to set the variable vSet1 equal to the radio buttons value.
On slide 2, you need to control State of the Rectangle 1 (Bar 1) to the value of variable vSet 1.
You do the same to vSet2, vSet3, vSet4 variables.
Awesome, cheers man.
This discussion is closed. You can start a new discussion or contact Articulate Support.