Mini game question

you can use something like timed tappable minigame by using point system counting the attempts.

if the reader taps the red circle it can get NARRATOR wrong choice and bring him back on start of the minigame.

And for counting the attempts you will add points so once the reader got 10 ( I personally would go for less since if it will be hard for him he will get annoied after so many tries) and after the desired number of points it will end up the minigame

simplified version without the overlqys movement atc…

@GAME =0
label MINIGAME

if (GAME =10) {
goto ENDMINIGAME_1
} else {
tappable
“RED” {
@GAME +1
#here add the code for what will happen after thay tapp red
goto MINIGAME
} “GREEN” {
#here add what will see only the one hitting the green
goto ENDMINIGAME_2
}
}
label ENDMINIGAME_1
NARR
You failed to hit the green light in 10 trials
label ENDMINIGAME_2
#here you will go on with story - same for both readers
NARR

regarding the overlays I would code it so that the tappable green overlay is ofscreen so it cant be tapped while the red is there¨
then I would for short time put ofscreen the red one and put on screen the green one

making it probably a loop so basicly reader will be able to tapp only what he sees on screen

1 Like