Mini game coding. Help!

Hey! This wouldn’t be very complicated. If I were you, I would get three tappable arrow overlays and put them on either side and the top of the screen (Dara’s dressing game arrows would work for the sides, just make sure to credit her). You will have to duplicate and turn one of these arrows to make it face the third direction. Then I would have a speech bubble say something like:

NARRATOR
You are entering a minigame! Tap the arrows to run the right way, or get sent back to the start.

label escape_start

MAIN CHARACTER
We need to escape! Which way should we go?

Then you will code a tappable choice. If they pick the correct direction, they will get dialogue prompting them to keep going. If they pick the wrong direction, they will get told they’re wrong and sent back to the start using gotos. In this example, let’s say left was correct, then right.

tappable
“LEFT ARROW” {

} “RIGHT ARROW” {

NARRATOR
You went the wrong way!
goto escape_start

} “FORWARD ARROW” {

NARRATOR
You went the wrong way!
goto escape_start

}

MAIN CHARACTER
This way looks all clear! Where should I turn next?

tappable
“LEFT ARROW” {

NARRATOR
You went the wrong way!
goto escape_start

} “RIGHT ARROW” {

} “FORWARD ARROW” {

NARRATOR
You went the wrong way!
goto escape_start

}

MAIN CHARACTER
Nice! Where next?

And then you’ll just keep doing it like that until your escape is done. My Instagram is @rachelonepisode :slight_smile:

3 Likes