How to direct mini game where you have to tap overlays in a specific sequence to win

I have a mini game where there are three tappable buttons that I need the player to tap in a specific sequence to win. For example (tap button 1 twice, tap button 3 once, tap button 2 thrice, and tap button 1 once again). At any point if they press the wrong button, they will be redirected to the start of the game.

I have no idea how to code this, like, where do the labels go? Do I use a point system to remember the options? :frowning:

Pls help, thanks!

1 Like

That just requires basic choice coding and some labels. it goes like this:

label Start_miniGame
NARRATOR
Make the right choice.
tappable “Button 1”{

sound correct_ding

goto MiniGame_secChoice

}“Boutton2”

sound wrong_buzz

NARRATOR
Oh uh, wrong choice.

NARRATOR
Why don’t you try that again?

goto Start_miniGame

}“Boutton3”{

NARRATOR
Oh uh, wrong choice.

NARRATOR
Why don’t you try that again?

goto Start_miniGame
}

label MiniGame_secChoice

NARRATOR
Make a second choice.
tappable “Button 1”{

sound correct_ding

goto MiniGame_trdChoice

}“Bouton2”

sound wrong_buzz

NARRATOR
Oh uh, wrong choice.

NARRATOR
Why don’t you start again?

goto Start_miniGame

}“Boutton3”{

NARRATOR
Oh uh, wrong choice.

NARRATOR
Why don’t you start again?

goto Start_miniGame
}

label MimiGame_trdChoice

NARRATOR
Make a third choice.
tappable “Button 1”{

sound wrong_buzz

NARRATOR
Oh uh, wrong choice.

NARRATOR
Why don’t you start again?

goto Start_miniGame

}“Bouton2”

sound wrong_buzz

NARRATOR
Oh uh, wrong choice.

NARRATOR
Why don’t you start again?

goto Start_miniGame

}“Boutton3”{

sound correct_ding

goto MiniGame_frthChoice

}

And so on, you get the idea.

2 Likes

Thank you!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.