Can a shape location be variable-dependent?

Is there any way in Storyline to make the location of a shape depend on the value of a variable?

I want to have a figure move up/down the screen depending on whether a student answers questions correctly or incorrectly. I believe I can accomplish that by assigning 20 different states to the shape (one for each possible correct answer) and using 20 corresponding triggers with conditions. However, I was wondering if there might be a more efficient way to achieve what I'm aiming to do. I'm brand-new to e-learning and unfortunately don't know JavaScript or anything like that.

Thanks,

Dorothy

10 Replies
Adrian Dean

Hi Dorothy,

You have seen this based off your 20 different states and triggers mention, but I figure I would post here anyway.

http://community.articulate.com/tutorials/products/adding-and-editing-states.aspx

Here's one that may get you thinking. It appears similar to what you talk about, at least with having shapes or figures if you will having multiple animations.

http://community.articulate.com/forums/p/14394/83844.aspx

I'll have to play with it to see if I can do what you want a different way, but it appears that my first link dealing with your 20 states and triggers is the only documented way so far.

Adrian

Adrian Dean

Edit: Found another good video that could accomplish what you want using drag and drop triggers. 

http://www.articulate.com/support/kb_article.php?product=st1&id=mvi60e5s1acv

Hi Dorothy,

Just found this. 

http://www.articulate.com/support/kb_article.php?product=st1&id=ls3trr0yscnf

I didn't watch the whole video, but it deals with using variables to retain or change states across multiple slides.

Hope this helps,

Adrian

Dorothy Stark

Thanks!  I will use the multiple states/triggers approach. 

 

I appreciate all the links.  I always seem to pick up at least 1 more useful tidbit from watching the videos--even the ones I've seen before.  BTW, do you know where I could find the story file from the "How to change object states using drag / drop triggers" video (the one with the woman and the 2 doors)?

 

http://www.articulate.com/support/kb_article.php?product=st1&id=mvi60e5s1acv

David mentions making the story file available, but I didn't see any link for it.

Dorothy

Dorothy Stark

Super, David.  I appreciate it.  I've got the logic of how you did things with the drag and drop doors.

Now I'm just wondering how you made the cool open door picture.  Did you adjust the open door picture somehow in Photoshop or Powerpoint?  I'm new to all this and am just starting to get a handle on Storyline and haven't begun to learn any graphics software.

Dorothy

David Anderson

Hi Dorothy,

The door graphic came from iStockPhoto but only came in an open position. I used Photoshop to scale and distort the door to create the closed effect. You can use a lot of graphics programs--Aviary, Elements, Paint.net--to create the effect. Here's a Screenr overview of the concepts used to select, duplicate and transform the door:

Dorothy Stark

That screenr on how you made the open/close door was great, David. I don't have Photoshop, but I look forward to playing around with Aviary when I get the chance. I didn't realize there were "change perspective" tools on any free image editors.

And Russ, have you submitted your idea as a feature request? I think you can do so here:

http://www.articulate.com/support/contact/submit.php?form=feature