29 Replies
Jill McNair

Hi Diana,

Love Annie Jean's example!  Here's another idea: you could use an animated gif - figure out how much time it takes to make the number of spins you want.  Insert a static image as a new state, the insert a trigger to change the state of your animated gif to the static image when the timeline ends.  Here is a sample.  Hope it helps!

Gerry Wasiluk

Another option (for giggles), assuming nothing else happens on the slide, at the end of the timeline, advance the slide automatically back to itself with a trigger.  That way you only need one image.  Just make sure you have a next button to advance forward when needed.

If you need to have it happen only a certain number of times, use a variable and increment each time before the slide moves back.  Then add a condition to your trigger to not work when the variable equals your desired number.

Maybe not the best option but loving that Storyline often has many ways of doing something. 

Gerry Wasiluk

Gerry Wasiluk said:

Another option (for giggles), assuming nothing else happens on the slide, at the end of the timeline, advance the slide automatically back to itself with a trigger.  That way you only need one image.  Just make sure you have a next button to advance forward when needed.

If you need to have it happen only a certain number of times, use a variable and increment each time before the slide moves back.  Then add a condition to your trigger to not work when the variable equals your desired number.

Maybe not the best option but loving that Storyline often has many ways of doing something. 

Oops, forgot one thing.  Make sure the revisit for the slide is set to reset to initial state.
Rebecca Fleisch Cordeiro

Hi All,

Annie, you beat me. I was going to suggest what you did.

Jill, I love what you did and it looks great. Do you have suggestions as to where to get free animated gifs?

Gerry, I have a question about your suggestion, which also seems as though it should be easy.

I inserted a photo, animated it with a slow spin, and I think I did what you suggested, but there's a pause between spins and it's only repeating once. My trigger looks like this:

Action: jump to slide

Slide: untitled (I only have the one slide)

When: timeline ends

Object: picture

I see that you've added instructions for having it happen a certain number of times, and I'm going to try that next, but my question is why doesn't it KEEP repeating itself with this trigger?

Rebecca Fleisch Cordeiro

Hi,

Oh, I'd simply added a trigger to the slide itself for when the timeline ends...this is the part I don't know how to do:

If you need to have it happen only a certain number of times, use a variable and increment each time before the slide moves back.  Then add a condition to your trigger to not work when the variable equals your desired number.

Rebecca Fleisch Cordeiro

Gerry, I'm sorry, I think I'm not clarifying. My story works fine...it does everything yours does, as far as I can tell, but without anything offstage. I just wondered if there was a way to qualify it, as you'd suggested above, if you only want it to repeat X number of times.

Gerry Wasiluk said:

If you need to have it happen only a certain number of times, use a variable and increment each time before the slide moves back.  Then add a condition to your trigger to not work when the variable equals your desired number.


I don't see that you've done that in the one I just took a look at? I don't see any variables? Otherwise, as I said, I seem to have achieved the same thing as you but without needing an offstage object.

If this is getting tedious for others, apologies. I'll stop now!

Gerry Wasiluk

No problem.  The sample I attached last spins five times and then stops.  Are you not seeing that?

I'm using the spinnumber variable and initially setting it to 1, to account for the first spin (since I added the text on the slide for debugging to show the spin number).  Edit the slide trigger to see the condition I put on the number of spins.

Are am I totally missing your question?

Steve Flowers

There's another way to add multiple animations. Depending on what you want to do, it may look a little funny. For simple repeats, I like the method Rebecca and Gerry refer to above. But sometimes you might want to underlay with audio or have other things happen during the animation that don't repeat.

Story

The reason you're noticing a delay is at least partially due to the easing used in the animation. The rotation doesn't happen at constant speed for any of the animation speeds. It's always slower at the end (ease out) with a pretty significant ease to the endstop. When it starts again, the speed ramps up quickly then dips off at the end.

If you're not looking for repeats, you can nest objects in groups and applying an animation to each parent. I experimented with this last weekend in an effort to customize some of the entry animations. It does work but requires careful timing. Also keep in mind that a group requires two objects, so you'll need to make some transparent objects to build up your groups if you play with this one

Rebecca Fleisch Cordeiro

Gerry, when I open the last Story file presentation you inserted, I see a blue rectangle offstage, the "Female 2" character onstage, and a textbox onstage that says 123.

When I click the Manage Project Variables button, the Variables box is blank...there are no variables there.

In the triggers panel, I see:

Object trigger: jump to slide, untitled slide when timeline starts object rectangle. That's it.

So, that's why I'm confused. I knew enough to look at the trigger, but there's nothing there. I knew enough to look at the variables, but there's nothing there. Not sure what's going on?

Steve, I was wondering if the animation delay was perhaps built into the "code" (probably wrong word) of the animation itself, but since I"m not a programmer (probably the wrong word again) and many of my deductions are based on more like intuition (another wrong word!), I was hesitant to posit that. Thanks for uploading this story. I'll definitely want to take a look when I have some time.

Gerry Wasiluk

Rebecca Fleisch Cordeiro said:

Gerry, when I open the last Story file presentation you inserted, I see a blue rectangle offstage, the "Female 2" character onstage, and a textbox onstage that says 123.

When I click the Manage Project Variables button, the Variables box is blank...there are no variables there.

In the triggers panel, I see:

Object trigger: jump to slide, untitled slide when timeline starts object rectangle. That's it.

So, that's why I'm confused. I knew enough to look at the trigger, but there's nothing there. I knew enough to look at the variables, but there's nothing there. Not sure what's going on?

Steve, I was wondering if the animation delay was perhaps built into the "code" (probably wrong word) of the animation itself, but since I"m not a programmer (probably the wrong word again) and many of my deductions are based on more like intuition (another wrong word!), I was hesitant to posit that. Thanks for uploading this story. I'll definitely want to take a look when I have some time.


Oops, looks I uploaded the wrong project.

Let's try this one . . . https://s3.amazonaws.com/GJW-SL/repeat_animation_by_repeatslide-v2.story

I'm on Miller Time today . . . 

Rebecca Fleisch Cordeiro

Ah! THERE it is. I wish I could get better at this whole variable/trigger/conditions schtick faster. Sometimes I can put tog. in my head what I've been learning, and I'm SO happy , and other times I completely draw a blank...which makes me VERY frustrated :-(.

TX so much, Gerry. Totally get it (now that I can see it ).

Have a great WE.

Gerry Wasiluk

Rebecca Fleisch Cordeiro said:

Ah! THERE it is. I wish I could get better at this whole variable/trigger/conditions schtick faster. Sometimes I can put tog. in my head what I've been learning, and I'm SO happy , and other times I completely draw a blank...which makes me VERY frustrated :-(.

TX so much, Gerry. Totally get it (now that I can see it ).

Have a great WE.


Never fear.  You're a smart and very talented colleague.  Just work on it and you'll get it.

Now if I could just approach Steve's and Phil's level, I'd feel blessed.  More most very talented colleagues.

Gerry Wasiluk

Phil Mayor said:

Thanks Gerry

Dont think I am any better than you, just think my brain processes triggers and layers natively


That's why this community is so much fun--and valuable.  We all have our strengths and opportunities for improvement (don't like the word "weaknesses" here).  We don't have all the answers individually but as a community we have most of them.  I find that liberating.

Phil Mayor

Gerry Wasiluk said:

Phil Mayor said:

Thanks Gerry

Dont think I am any better than you, just think my brain processes triggers and layers natively


That's why this community is so much fun--and valuable.  We all have our strengths and opportunities for improvement (don't like the word "weaknesses" here).  We don't have all the answers individually but as a community we have most of them.  I find that liberating.

Agree, I know there are questions I dont even look at because I just dont know enough