Help: Arrow keys doesn't work properly with layer triggers.
Nov 21, 2014
Hi everyone,
I'm using Storyline 2 and making an e-learning with a "World page" that the learner will have the ability to use the arrow keys to choose the scene, like Super Mario game.
The problem is, when i use "Left" arrow key, the object doesn't go back to the previous position. Instead, it goes back to the first place it appears.
Example:
1. The object (The pink car) firstly appears on position#1
2. I pressed "Left" arrow key to position#2, and "Up" to position#3 and "Right" to position#4 --> No problem. Now, the car is at position#4
3. However, when i pressed "Left" to go back to position#3, the object appears on position#2, which is not correct.
4. This problem is the same when the car is on position#5,6 and 7. The object appears to position#2 every time i pressed "Left".
Ps. I use the show layer trigger to show each layer once the user pressed the arrow keys.
Do i miss something?, if yes, please correct me.
You see some demo here:
You can take a look at my project file in the attachment:
Thank you for your help in advance.
Narongrit
5 Replies
Hi Narongrit
that's quite a problem you have. I changed the No 4 LEFT KEY to a DOWN KEY and it goes left...I'm not sure if is the angles of the object but that seemed to work. It's not ideal and I would check with support but for a workaround you could rejig a few of the LEFT KEY triggers (even though the user still clicks the LEFT). Issue comes on No 5 when you do want to use the down key to go down. Sorry couldn't be more help.
From the WorldMap layer, remove the Show Layer Meeting Room trigger. Since you re using SL2, you could also use triggered motion path animations and scrap all the layers, as shown in the maze example here: http://dev.keypointlearn.com/xcl73_SL2/Animations/V1/story.html This was all done on one layer.
Thank you Michael, i've deleted the Show layer trigger and everything works just fine.
However, i've tried your method with line motion path with relative start point too. it seems not working like i expected. I'm finding what i'm missing.
Again, thank you Michael.
@Narongrit, maybe this tutorial here provides some answers: https://community.articulate.com/articles/move-objects-any-way-with-motion-paths-in-storyline-2
Hi Michael
can you explain why you removed that layer to make it work?
This discussion is closed. You can start a new discussion or contact Articulate Support.