Tappable overlays minigame

Hi everyone, I need some help with a minigame I’m doing.
It consists in remove four stains from a screen. The stains are tappable overlays obv.
The problem is that when I remove the first it doesn’t continue, instead it finish. I need to make them disappear when I click on them. Can you help me?
Here’s the script:

1 Like

add a label to line 3001, so after the reader taps on one of them they’ll go back to the tappable game. you can use character points or flags to make sure they can move on after they tap all 4 stains

label minigame

tappable
“STAIN1” {
@CHARACTER +1
@overlay STAIN1 opacity 0 in 2

if (CHARACTER=4) {
} else {
goto minigame
}
} “STAIN2” {
@CHARACTER +1
@overlay STAIN2 opacity 0 in 2

if (CHARACTER=4) {
} else {
goto minigame
}
} “STAIN3” {
@CHARACTER +1
@overlay STAIN3 opacity 0 in 2

if (CHARACTER=4) {
} else {
goto minigame
}
} “STAIN4” {
@CHARACTER +1
@overlay STAIN4 opacity 0 in 2

if (CHARACTER=4) {
} else {
goto minigame
}

}

Thank you, but it doesn’t work :pensive:

what’s happening in the previewer?

The same thing, only the first one goes away, then nothing

you have to refresh every time you preview it or else the points will keep building up and mess up the entire mini-game :pleading_face:

I did, but it doesn’ work :pensive:

You need to manually select and unselect the flags in the story modifiers.

1 Like

did you copy+paste the script i sent you? if not then can you send your script here

I did it, thank you so much! :smiling_face_with_three_hearts:

1 Like

aww i’m glad i could help :revolving_hearts:

1 Like

Closed: Marked as solved and closed :v: