Bump
Hiya! Are you still taking any requests? Iβd like some help with a mini game
Yes, we are. How can we help you?
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
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