Can you go back in time with labels

So I’m creating an escape game and so far it’s working quite well. Until I want to enter another scene.
When I try to use a “goto” to go to a pervious scene it seems to get stuck and wont go back.

am I doing something wrong or is it something we are unable to do

1 Like

Can you send a screenshot/picture of the error and the script?

Thanks for replying, I’m not getting a script error but when I tap the BACK overly to go from the BEDROOM to doorway and via versa it doesn’t work…
as you can see the bed, sink and close overlays are working but it won’t go between scenes
Also when I click update it starts from the doorway label instead of going back to the start

Here is the script if you wanna take a look…

INT. HOSPITAL YOUR ROOM with BACK with GLOVE to 382 203 0.398 with BED to 1.353 0 0 with SINK to 1.349 521 124 with FOAM to -18 -42 1.000 with MIRROR SHARD to 0.339 563 178 with SCREWDRIVER HEAD
@overlay BACK shifts to 145 4 in 0
@overlay BACK scales to 1.192 1.192 in 0
@overlay MIRROR SHARD to layer 2
@overlay SINK to layer 1
@overlay BED to layer 0
@overlay BACK opacity 1 in 0

if (screwdriver)
{
@overlay SCREWDRIVER HEAD create
@overlay SCREWDRIVER HEAD shifts to 101 136 in 0
@overlay SCREWDRIVER HEAD scales to 1.134 1.134 in 0
@overlay SCREWDRIVER HEAD opacity 1 in 0
}

label BEDROOM

tappable [pan:1:2]
“BACK” {
goto doorway
}
“SINK” {
goto SINK
}
“BED” {
goto BED
}

label SINK
@overlay SINK scales to 2.340 2.340 in 0
@overlay SINK shifts to 425 76 in 0
@overlay CLOSE create
@overlay CLOSE shifts to 428 77 in 0
@overlay CLOSE scales to 0.743 0.743 in 0
@overlay CLOSE opacity 1 in 0
@overlay MIRROR SHARD shifts to 513 168 in 0
@overlay MIRROR SHARD scales to 0.339 0.339 in 0

tappable
“CLOSE” {
@overlay CLOSE opacity 0 in 0
@overlay SINK shifts to 521 124 in 0
@overlay SINK scales to 1.349 1.349 in 0
@overlay MIRROR SHARD scales to 0.339 0.339 in 0
@overlay MIRROR SHARD shifts to 563 178 in 0
goto BEDROOM
}
“MIRROR SHARD” {
if (Glove) {
@overlay CLOSE opacity 0 in 0
@overlay MIRROR SHARD clear
@overlay MIRROR create
@overlay MIRROR shifts to 498 152
@overlay MIRROR scales to 0.550 0.550 in 0
@overlay MIRROR opacity 1 in 0
@pause for a beat
@overlay MIRROR shifts to 342 12 in 0.5
gain MIRROR
goto SINK
}
else {
@overlay CLOSE opacity 0 in 0
NARRATOR
Ouch! it’s too sharp to pick up with my bare hands!
goto SINK
}
}

label BED
@overlay BED shifts to 0 0 in 0
@overlay BED scales to 1.826 1.826
@overlay CLOSE create
@overlay CLOSE shifts to 214 61 in 0
@overlay CLOSE scales to 1.045 1.045 in 0
@overlay CLOSE opacity 1 in 0

if (MIRROR)
{
@overlay MIRROR shifts to 64 8
@overlay MIRROR scales to 0.609 0.609
}

elif (cutopen)
{
@overlay MIRROR clear
@overlay FOAM shifts to 113 153 in 0
@overlay FOAM scales to 1.870 1.870 in 0
}

tappable
“BED” {

if (cutopen)
{
@overlay CLOSE opacity 0 in 0
NARRATOR
Look there is something there
goto BED
}
else
{
@overlay CLOSE opacity 0 in 0
NARRATOR
There is something in the mattrase, maybe I could find something to cut it open.
goto BED
}
}
“MIRROR” {
@overlay CLOSE clear
@overlay MIRROR clear
@overlay MIRROR ONSIDE create
@overlay MIRROR ONSIDE shifts to 107 167 in 0
@overlay MIRROR ONSIDE scales to 0.819 0.819 in 0
@overlay MIRROR ONSIDE opacity 1 in 0
@overlay MIRROR ONSIDE shifts to 69 150 in 1
@overlay MIRROR ONSIDE clear
@overlay FOAM shifts to 113 153 in 0
@overlay FOAM scales to 1.870 1.870 in 0
gain cutopen
goto BED
}
“CLOSE”
{

if (cutopen)
{
@overlay CLOSE opacity 0 in 0
@overlay FOAM shifts to 79 119 in 0
@overlay FOAM scales to 1.614 1.614 in 0
@overlay FOAM opacity 1 in 0
@overlay BED scales to 1.353 1.353 in 0
@overlay BED shifts to 0 0 in 0
goto BEDROOM
}

else {
@overlay CLOSE opacity 0 in 0
@overlay BED scales to 1.353 1.353 in 0
@overlay BED shifts to 0 0 in 0
goto BEDROOM
}
}

label doorway

INT.DOORWAY with DOOR to 1.571 130 24 with BACK to 1.512 32 290
tappable
“DOOR”{
NARRATOR
It’s locked
goto doorway
}“BACK” {
goto BEDROOM
}

Thank you for replying

Firstly, sorry for the late reply, I somehow didn’t get a notification.

One tip is when using “update script” button, go to navigation and click the right scene you’ve updated again.

Your script looks fine to me so maybe it’s a bug. I’d suggest submitting a ticket.

Hey I think I fixed it. I think it was because I was trying to go back half way through a scene which only had the background before it so it wasn’t been given a background to go to. I’ve edited it a bit now so that I have got an intro before the game starts and then put a background just after where the label is. It seems to work now lol

Thank you Xx

I’m glad you fixed it! :grinning: