Tappable Overlays!

Hey everyone! I’ve set up a scene with tappable overlays (everything has been approved), yet when I try to test the scene, they don’t show up and nothing works. If someone could either tell me what I did wrong or write me a template I would greatly appreciate it!! <3

The background is INT. SHELF - DAY and the overlays are FABRIC, WOOD, and GLUE.

INT. SHELF - DAY with WOOD to 0.265 -52 -6 in zone 3 at layer 2 with FABRIC to 0.265 158 -10 in zone 3 at layer 2 with GLUE to 36.633 5 93 in zone 3 at layer 3

label okay

    NARRATOR
Choose the 3 items that you need to make the boat.
*HINT* There's only 3 choices!!

tappable
“WOOD” {
@overlay WOOD clear
goto okay
@EXTRA1 +1
if (EXTRA1 = 3) {
goto done
} else {
goto okay
}
} “FABRIC” {
@overlay FABRIC clear
goto okay
@EXTRA1 +1
if (EXTRA1 = 3) {
goto done
} else {
goto okay
}
} “GLUE” {
@overlay GLUE clear
goto okay
@EXTRA1 +1
if (EXTRA1 = 3) {
goto done
} else {
goto okay
}
}
label done

That’s the scene! Thanks in advance!!

1 Like

@Scarlet_Sapphire, @Dara.Amarie, @JemU776 got any ideas how to help @lindsayh?

1 Like

@lindsayh I might be abll to help but I am not sure…
I noticed you put a extra bracket here.

You don’t need the bolded bracket.

The same thing as above.

The game is supposed to be where you tap them until they’re all gone.

1 Like

Now it says that the bracket after the word “WOOD” doesn’t have a matching.

tappable
“WOOD” {
@overlay WOOD clear
goto okay
@EXTRA1 +1
if (EXTRA1 = 3) {
goto done
} else {
goto okay
}“FABRIC” {
@overlay FABRIC clear
goto okay
@EXTRA1 +1
if (EXTRA1 = 3) {
goto done
} else {
goto okay
} “GLUE” {
@overlay GLUE clear
goto okay
@EXTRA1 +1
if (EXTRA1 = 3) {
goto done
} else {
goto okay
}

1 Like

what does Strat mean? lol I’m sorry for asking a stupid question

1 Like

Ohh. I didn’t even try to preview it when I got the error. I was just trying to save the script wen I got the error message.

1 Like

It needs to be like this:
@EXTRA1 +1
} if (EXTRA1 = 3) {

This is a mess LOL! Now it says “Unexpected String : FABRIC”

1 Like

Do you still have this?

Yep.

1 Like

When I try to fix the script it gives me error messages.

1 Like

The thing is you have

Which moves you to the very beginning of this whole mini game, before adding the points.

So it should look like this:

tappable
“WOOD” {

@overlay WOOD clear
@EXTRA1 +1

if (EXTRA1 = 3) {
goto done
} else {
goto okay
}

} “FABRIC” {

@overlay FABRIC clear
@EXTRA1 +1
if (EXTRA1 = 3) {
goto done
} else {
goto okay
}

} “GLUE” {
@overlay GLUE clear
@EXTRA1 +1
if (EXTRA1 = 3) {
goto done
} else {
goto okay
}
}
label done

Thank you so much omg!!!

1 Like

They still won’t show up. :((

Did you cut/pan to the zone 3, where they are placed, tho? I could check the spotting you have there, but I’d need png files you’re using as overlays :blush:

EDIT: Wait, is this the whole script of the scene you have?

Etc.?
You need to set overlays’ opacity to 1 and cut to zone 3. So here, again:

INT. SHELF - DAY with WOOD to 0.265 -52 -6 in zone 3 at layer 2 with FABRIC to 0.265 158 -10 in zone 3 at layer 2 with GLUE to 36.633 5 93 in zone 3 at layer 3
&cut to zone 3
&overlay WOOD opacity 1 in 0
&overlay FABRIC opacity 1 in 0
&overlay GLUE opacity 1 in 0
label okay

NARRATOR

Choose the 3 items that you need to make the boat.
HINT There’s only 3 choices!!
tappable
“WOOD” {

@overlay WOOD clear
@EXTRA1 +1

if (EXTRA1 = 3) {
goto done
} else {
goto okay
}

} “FABRIC” {

@overlay FABRIC clear
@EXTRA1 +1
if (EXTRA1 = 3) {
goto done
} else {
goto okay
}

} “GLUE” {
@overlay GLUE clear
@EXTRA1 +1
if (EXTRA1 = 3) {
goto done
} else {
goto okay
}
}
label done

It was the panning thing! I see the overlays in the bottom of the screen now… I’m still struggling to get them into the right spots. Here’s the background I’m using.

I’m doing it in zone 1

Yeah. Here’s the whole scene.

INT. SHELF - DAY with WOOD to 0.265 -52 -6 in zone 1 at layer 2 with FABRIC to 0.265 158 -10 in zone 1 at layer 2 with GLUE to 36.633 5 93 in zone 1 at layer 3

label okay

    NARRATOR
Choose the 3 items that you need to make the boat.
*HINT* There's only 3 choices!!

tappable
“WOOD” {

@overlay WOOD clear
@EXTRA1 +1

if (EXTRA1 = 3) {
goto done
} else {
goto okay
}

} “FABRIC” {

@overlay FABRIC clear
@EXTRA1 +1
if (EXTRA1 = 3) {
goto done
} else {
goto okay
}

} “GLUE” {
@overlay GLUE clear
@EXTRA1 +1
if (EXTRA1 = 3) {
goto done
} else {
goto okay
}
}
label done

Yeah, then I think this part is necessary for overlays to show up (not sure tho, cuz I personally don’t use BG with OVERLAY command, so idk if they’re visible by default :sweat_smile: )

Since you’re doing it in zone 1 now, then everything else looks correct, except GLUE overlay size looks a little bit off to me (36.633? :thinking: )

I didn’t do the spots/sizes yet. is that way too big?