Multiple items jumping depending on click and object state
Oct 08, 2017
I am looking to design something like the following. I want to have all parts clickable by the user if the object for them to jump on is free. The object needs to be able to jump either 1 space or 2 depending on position.
this is the type of thing I want to create
http://akidsheart.com/math/mathgames/leapfrog.htm
but I want to create it with the different planets so students will have to put it in order to then make a continue button activate. Is it possible to create in storyline 3? I am working in 3 because that is what my college bought for me to create an educational intervention game for my dissertation.
Thank you all in advance
3 Replies
Hi Darren,
I've never created anything quite like that in Storyline, but I think it would be possible using states, triggers, and (possibly) variables. Here are some tutorials to get you started:
If you get stuck, don't hesitate to come back and post your .story file. I can't wait to see how this turns out!
As Allison said, you can control motion easily enough with variables to determine whether or not something is allowed to move or not. Check out the attached example of a simple puzzle box where pieces can move left or right or up or down but only if the space they are moving to is open. I admit that I did use one small piece of JavaScript to perform a simple calculation but that was just a personal choice. The same calculation could be done with triggers.
This was created in SL2.
This post was removed by the author
This post was removed by the author
Ok here is what I have come up with so far. I got rid of the animations. I set each ball to 5 different states and it appears to work BUT. I only want the balls to jump from one or two spaces max when you click on it. It works fine until you have two balls in a row and try to click the outside one to jump. (it does, but it shouldn't because it shouldn't jump to a third place). Any thoughts on how to fix it?
This discussion is closed. You can start a new discussion or contact Articulate Support.