How do I create an action that can be done unlimited times?
Sep 24, 2015
By
Jordan Defty
Hi guys. I'm currently working on a course on LEAN. We decided to include a slide in which you click a BUILD button and a car comes in from the left and then stops in the middle. From there I want to get it so that every time the user clicks BUILD the car in the middle slides off to the right and is followed by another car, which stops in the middle. After the user clicks BUILD 4 or 5 times some text pops up. Theoretically though they should be able to click BUILD forever and the cars should keep coming.
In the next stage I want it to be a different car that comes in each time. Any ideas guys?
Cheers.
12 Replies
This can be done with triggered motion path animations. Here is an (unrelated) example of looped animations. This same idea could be applied to your car example. You could have two image objects (car 1 and car2) offstage. As car 1 is animated on and off the slide, car 2 follows, while car 1 is reset to its origional position and comes on slide again and so on. You could even add states to the two cars and switch those states, so that for the first loop car 1 is blue and car 2 is red, the next loop shows car 1 as green and car2 as ...whatever. Hope that makes sense.
Great suggestions, Michael! Please let us know if that is what you had in mind, Jordan, or if you still need additional assistance. :)
Thanks for the reply. I've done something similar to that. I've attached the project file and a link to the slide directly. I've basically input 3 cars. One is the entrance, one is a static image that comes in at the end of the entrance motion path. The third is the car that leaves via motion path.
It works, but I'm not sure how I can add in different colours. Any ideas?
Link to slide: http://s3.amazonaws.com/tempshare-stage.storyline.articulate.com/stp1a01nngqu8129lc1blvmll19uo4/story.html
See attached a quick example of how this might work. I added states to the two cars and (I think) simplified the setup. This should allow you to perpectually extend this build function. You could also add more states and then switch them based on a random number. Hope that helps.
Sorry, forgot Here is the published version. I left lables on the cars so that you can see that the same two car objects switch states 3 times.
Many thanks for sharing, Michael!
This is terrific Michael. Great job! I didn't think to change the states the way you have! Thanks very much!
Delighted to hear you are all set, Jordan! Michael to the rescue yet again! :)
This is a very novice question but how do I remove the Car 1 and Car 2 yellow labels?
Cheers.
To remove the labels, select a car, click the States tab > Edit States and then delete the text boxes in each state.
Duh, can't believe I didn't notice they were part of the state haha. I'm having a slow day today.
Thanks Michael, got this all working now!
It's Friday though :) Glad you're getting the assistance you need here Jordan.
This discussion is closed. You can start a new discussion or contact Articulate Support.