A Basic Guide to Tappable Overlays

Do you want to be able to go to the place eg like the closet and any given time or at certain parts of the story?

NARR
Look for things that can tell you where you are!
Or other things
Click on the arrow when done

tappable [pan:1:3] “OVERLAY” {

tappable “ARROW L” {
NARRATOR
Hope you found something!
}
}

Why isn’t this working?

NARR
Look for things that can tell you where you are!
Or other things
Click on the arrow when done

tappable “OVERLAY” {

tappable “ARROW L” {
NARRATOR
Hope you found something!
}
}

#You might wanna remove the pan part

But the writer can pan and when she/he is done you can click tha arrow

1 Like

@Dara.Amarie

what exactly is not working?

Struggling to allow the reader to scroll around the screen keep getting this error

is cause you put the pan and 1 together

tappable [pan1 : 3]
“Overlay”{

}“Overlay”{

}

it should be like this

tappable [pan 1 : 3]
“Overlay”{

}“Overlay”{

}

This still hasn’t worked im afraid :confused:

whoops sorry wrong code this one I think should work

tappable [pan : 1 : 3]
“Overlay”{

}“Overlay”{

}

Still getting the same error. It looks comfusing but this is the coding im using. It will look confusing as I had to make a lot of buttons and ifs in it ha ha ha

tappable [pan 1:3]
“KEY” {
@overlay KEY shifts to 59 486
}
“BACK”{
goto LEFT
}
“FLASHLIGHT”{
gain LIGHTON
goto UNDERCHAIR
}
“SAFEC” {
goto PASSWORDINPUT
}

label PASSWORDINPUT

if (LIGHTON) {
goto CODERCRACK
}
else{
NARRATOR
It’s too dark to see
goto UNDERCHAIR
}

label CODERCRACK
input What’s The Password?|What’s The Password|Done(PASSWORD)
if (PASSWORD is “9572”) {
NARRATOR
Access granted.
gain PASSWORD
@overlay SAFEC clear
goto UNDERCHAIR
}else {
NARRATOR
That’s not right
goto UNDERCHAIR
}

Is “BACK” suppose to be an overlay?

yeah its a button I had to use to come out from under the sofa
(created a background of under the sofa and to get to the main scene

Hmm there is noting wrong with your script is just the ls just labels. There is some labels that say it doesn’t existc

that’s probably because I haven posted the full script… It does look a bit messy as there are a lot of moving overlays to collect evidence ha ha.

I understand if you don’t want to read it with it being lengthy

I’m creating a game where you have to collect clues to escape the room. I just used that section to experoment with :slight_smile:

label mainveiw

INT. ANNIKA APARTMENT 2 - DAY with RIGHT to 0.738 237 410 in zone 2 with LEFT to 0.738 5 412 in zone 2 with TABLE to 1.563 97 9 in zone 2 with CLUEBAR1 to 1.062 4 469 in zone 2
@overlay RIGHT to layer 2
@zoom reset
@overlay CLUEBAR1 to layer 1
@cut to zone 2
@YOU stands screen center in zone 2
@overlay TABLE opacity 0 in 0
if (PAPER) {
@overlay PAPER create
@overlay PAPER shifts to 174 484 in 0 in zone 2
@overlay PAPER scales to 0.188 0.188
@overlay PAPER opacity 1 in 0
@overlay PAPER to layer 2
}
else {
@overlay PAPER create
@overlay PAPER scales to 0.188 0.188 in 0 in zone 2
@overlay PAPER shifts to 270 20 in 0 in zone 2
@overlay PAPER opacity 1 in 0
@overlay PAPER to layer 2
}
if (FLASHLIGHT) {
@overlay FLASHLIGHT create
@overlay FLASHLIGHT shifts to 100 480 in 0 in zone 2
@overlay FLASHLIGHT scales to 0.644 0.644 in 0 in zone 2
@overlay FLASHLIGHT opacity 1 in 0
}
else {
@overlay FLASHLIGHT create
@overlay FLASHLIGHT shifts to 196 3 in 0 in zone 2
@overlay FLASHLIGHT scales to 0.992 0.992 in 0 in zone 2
@overlay FLASHLIGHT opacity 1 in 0
@overlay FLASHLIGHT to layer 2
}
@zoom reset
tappable
“LEFT” {
@overlay LEFT clear
@pan to zone 1
goto LEFT
}
“TABLE” {
goto table
}

label table
@zoom on 640 1 to 171% in 1
@overlay BACK create
@overlay BACK shifts to 146 17 in zone 2 in 0
@overlay BACK scales to 0.228 0.228 in 0
@overlay BACK opacity 1 in 0

    NARRATOR
Collect evidence

tappable
“FLASHLIGHT”{
gain FLASHLIGHT
@zoom reset
@overlay BACK clear
@overlay FLASHLIGHT to layer 2
@overlay FLASHLIGHT shifts to 100 480 in 1 in zone 2
@overlay FLASHLIGHT scales to 0.644 0.644 in zone 2
@overlay FLASHLIGHT opacity 1 in 0
goto mainveiw
}
“BACK” {
@zoom reset
@overlay BACK clear
goto mainveiw
}
“PAPER” {
gain PAPER
@overlay PAPER shifts to 154 154 in 0 in zone 2
@overlay PAPER scales to 0.571 0.571 in 0 in zone 2
@overlay BACK clear
@zoom reset
@overlay PAPER to layer 2
goto mainveiw
}

@zoom reset
tappable
“LEFT” {
@overlay LEFT clear
@pan to zone 1
goto LEFT
}
“TABLE” {
goto table
}

label LEFT
INT. ANNIKA APARTMENT 2 - DAY with RIGHT to 0.738 238 418 in zone 1 with UNDERCHAIR to 206 -16 1.873 in zone 1
@overlay UNDERCHAIR to layer 1
@overlay RIGHT to layer 2
@reset hsl in 0
@cut to zone 1
@overlay CLUEBAR1 create
@overlay CLUEBAR1 scales to 1.062 1.062 in 0 in zone 1
@overlay CLUEBAR1 shifts to 4 469 in 0 in zone 1
@overlay CLUEBAR1 opacity 1 in 0 in zone 1
@overlay CLUEBAR1 to layer 1
if (PAPER) {
@overlay PAPER create
@overlay PAPER scales to 0.188 0.188 in 0 in zone 1
@overlay PAPER shifts to 174 484 in 0 in zone 1
@overlay PAPER opacity 1 in 0
@overlay PAPER to layer 2
}
if (FLASHLIGHT) {
@overlay FLASHLIGHT create
@overlay FLASHLIGHT scales to 0.644 0.644 in 0 in zone 1
@overlay FLASHLIGHT shifts to 100 481 in 0 in zone 1
@overlay FLASHLIGHT opacity 1 in 0
@overlay FLASHLIGHT to layer 2
}

tappable
“UNDERCHAIR” {
goto UNDERCHAIR
}
“RIGHT”{
@pan to zone 2
goto mainveiw
}

label UNDERCHAIR

@zoom on 132 287 to 105% in 0
INT.UNDERSOFER with EFFECT DIM 60 with BACK to 0.738 10 72
@overlay EFFECT DIM 60 to layer 2

if (LIGHTON) {
@overlay EFFECT DIM 60 clear
}
@overlay CLUEBAR1 create
@overlay CLUEBAR1 scales to 1.290 1.290 in 0 in zone 1
@overlay CLUEBAR1 shifts to 4 469 in 0 in zone 1
@overlay CLUEBAR1 opacity 1 in 0 in zone 1
@overlay CLUEBAR1 to layer -1
@overlay EFFECT DIM 60 to layer 0

if (PAPER) {
@overlay PAPER create
@overlay PAPER scales to 0.188 0.188 in 0 in zone 1
@overlay PAPER shifts to 174 484 in 0 in zone 1
@overlay PAPER opacity 1 in 0
@overlay PAPER to layer 0
}
if (FLASHLIGHT) {
@overlay FLASHLIGHT create
@overlay FLASHLIGHT scales to 1.046 1.046 in 0 in zone 1
@overlay FLASHLIGHT shifts to 92 473 in 0 in zone 1
@overlay FLASHLIGHT opacity 1 in 0
@overlay FLASHLIGHT to layer 0
}
if (PASSWORD) {
@overlay OPENSAFE create
@overlay OPENSAFE scales to 0.902 0.902 in 0 in zone 1
@overlay OPENSAFE shifts to -169 216 in 0 in zone 1
@overlay OPENSAFE opacity 1 in 0
@overlay OPENSAFE to layer -1
@overlay KEY create
@overlay KEY scales to 0.218 0.218 in 0 in zone 1
@overlay KEY shifts to 148 223 in 0 in zone 1
@overlay KEY opacity 1 in 0
@overlay KEY rotates 90 anchor point 0 0 in 0
@overlay KEY rotates 90 anchor point 0.5 0.5 in 0
@overlay KEY rotates 90 anchor point 1 1 in 0
@overlay KEY to layer 2

}
else {
@overlay EFFECT DIM 60 to layer 2
@overlay SAFEC create
@overlay SAFEC Scales to 0.902 0.902 in 0 in zone 1
@overlay SAFEC shifts to 40 219 in 0 in zone 1
@overlay SAFEC opacity 1 in 0
@overlay SAFEC to layer 1
}
if (KEY) {
@overlay KEY create
@overlay KEY shifts to 65 483
@overlay KEY scales to 0.211 0.211
@overlay KEY opacity 1 in 0
@overlay KEY to layer 2

}

tappable [pan 1:3]
“KEY” {
@overlay KEY shifts to 59 486
}
“BACK”{
goto LEFT
}
“FLASHLIGHT”{
gain LIGHTON
goto UNDERCHAIR
}
“SAFEC” {
goto PASSWORDINPUT
}

label PASSWORDINPUT

if (LIGHTON) {
goto CODERCRACK
}
else{
NARRATOR
It’s too dark to see
goto UNDERCHAIR
}

label CODERCRACK
input What’s The Password?|What’s The Password|Done(PASSWORD)
if (PASSWORD is “9572”) {
NARRATOR
Access granted.
gain PASSWORD
@overlay SAFEC clear
goto UNDERCHAIR
}else {
NARRATOR
That’s not right
goto UNDERCHAIR
}

2 Likes

Hmm there’s noting wrong with it. the only problem I could find is the one I showed in the beginning

I think it maybe due to it being in beta still ;/

but thank you so much for taking a look :smiley:

It works fine for me. I have a search scene in my script.
Mine looks like this:

tappable [pan:1:3] “overlay” {

} “overlay 2” {
… etc

I have : right after “pan” and no spaces in between anything.

I found out why it didn’t work and now I feel dumb :joy:
I was writing
tappable [pan 1:3]
instead of

tappable [pan:1:3]

I’m so sorry but thank you so much for your help

Glad everything got turned out fine :smiley: Even though that’s the error I was talking about :sweat_smile: