✨ πšƒπš‘πšžπš—πšπšŽπš› π™²πš˜πšπš’πš—πš π™·πšŽπš•πš™ ✨ {open}

:point_right: Bump :point_left:

Hiya! Are you still taking any requests? I’d like some help with a mini game :pleading_face:

1 Like

Yes, we are. How can we help you?

1 Like

I want to add a mini game in my story where the character has to follow a set of instructions- Left-Right-right-left-right and chances are only 3. I know how to use the label and points but not sure how to code it down :pleading_face:

1 Like

I will follow your directing instructions.
If it isn’t tappable, you could do it this way (otherwise tell me so):

@MINIGAME =0
label mini_game

if (MINIGAME =3){
NARRATOR
Here comes the consequences of losing the mini game.
########Pay attention! After this it will go to the label mini_game_ending, that’s why I suggest to go to the label continue_story. If it has another plotline then add in a label for that! (Ask me if you don’t understand.)

goto continue_story
} else {
NARRATOR
Where do I have to go to?
choice β€œLeft” {
readerMessage Well done!
#####place the code for letting you char walk to another spot

goto part_02
} β€œRight” {
@MINIGAME +1
readerMessage No, that’s wrong.
goto mini_game
}
label part_02
NARRATOR
What’s next?
choice β€œLeft” {
@MINIGAME +1
readerMessage No, that’s wrong.
goto mini_game
} β€œRight” {
readerMessage Well done!
#####place the code for letting you char walk to another spot

goto part_03
}
label part_03
NARRATOR
What’s next?
choice β€œLeft” {
@MINIGAME +1
readerMessage No, that’s wrong.
goto mini_game
} β€œRight” {
readerMessage Well done!
#####place the code for letting you char walk to another spot

goto part_04
}
label part_04
NARRATOR
What’s next?
choice β€œLeft” {
readerMessage Well done!
#####place the code for letting you char walk to another spot

goto part_05
} β€œRight” {
@MINIGAME +1
readerMessage No, that’s wrong.
goto mini_game
}
label part_05
NARRATOR
What’s next?
choice β€œLeft” {
@MINIGAME +1
readerMessage No, that’s wrong.
goto mini_game
} β€œRight” {
readerMessage Well done!
#####place the code for letting you char walk to another spot

goto mini_game_ending
}
}

################
label mini_game_ending
NARRATOR
Here comes the consequences of doing the mini game within 3 times.
goto continue_story

#################
label continue_story