I did use the search function but my ‘fu’ probably left me so I have to ask.
I have one button that tells Hype to move to the next scene.
I have for example 4 scenes. Last scene, scene 4, I like that button to go back to scene one.
I made a timeline for this ‘next scene’ button and when the user arrives at the last scene (scene 4) that button switches to an identical looking button which when clicked loads the first scene then switches back so you get an infinite forward loop.
Works perfectly. Except, yesterday peeking through the posts here I ran into the explanation how to use keyboard keys to transition from 1 scene into another. Problem is if I implement that, my 1 button timeline solution stops working if the user tries to use both. Logically, because my timeline gets skipped or starts at the wrong moment.
Still, I want to use both!
So eh, any other way to have one button go to scene 1, 2, 3 then back to 1?
Some script like, if scene 1,2,3 go next scene, if scene 4 go to scene 1, maybe? I’m really, really bad at javascript so forgive my ignorance.