Help with advanced directing

Hi everyone! I wanted to ask you if there is any way to make the player in this minigame go back to the start without the timer being reset. Does anyone know how I could do it or could you tell me if I can’t? Thanks in advance.

This is my script:

Summary

INT. MINIGAME PAPERS - DAY
@zoom reset
@speechbubble reset
music music_atwork
volume music 100 0
&overlay INSTRUCTIONS create AND overlay INSTRUCTIONS opacity 1 in 0 AND overlay INSTRUCTIONS shifts to 3 431 in zone 1 AND overlay INSTRUCTIONS scales to 1.000 1.000 AND overlay INSTRUCTIONS moves to layer 1
&overlay 9 create AND overlay 9 opacity 1 in 0 AND overlay 9 shifts to 24 36 in zone 1 AND overlay 9 scales to 1.450 1.450 AND overlay 9 moves to layer 1
NARRATOR
|bold|-MINIGAME-
You will have |bold, color:red|60 seconds |reset|to organize |bold, color:red|9 files |reset|in their corresponding color.
Organize only the ones that are |bold, color:red|handwritten!
|bold|3… 2… 1…
|bold, color:red, animation:flash|START!
&overlay INSTRUCTIONS clear
&overlay DISCARD create AND overlay DISCARD opacity 1 in 0 AND overlay DISCARD shifts to 83 10 in zone 1 AND overlay DISCARD scales to 1.728 1.728 AND overlay DISCARD moves to layer 1
&overlay DONE create AND overlay DONE opacity 1 in 0 AND overlay DONE shifts to 208 11 in zone 1 AND overlay DONE scales to 1.609 1.609 AND overlay DONE moves to layer 1
&overlay BOX ORANGE create AND overlay BOX ORANGE opacity 1 in 0 AND overlay BOX ORANGE shifts to -5 300 in zone 1 AND overlay BOX ORANGE scales to 1.000 1.000 AND overlay BOX ORANGE moves to layer 3
&overlay BOX RED create from BOX ORANGE AND overlay BOX RED opacity 1 in 0 AND overlay BOX RED shifts to 108 300 in zone 1 AND overlay BOX RED scales to 1.000 1.000 AND overlay BOX RED moves to layer 3
&overlay BOX LILA create from BOX ORANGE AND overlay BOX LILA opacity 1 in 0 AND overlay BOX LILA shifts to 220 300 in zone 1 AND overlay BOX LILA scales to 1.000 1.000 AND overlay BOX LILA moves to layer 3
&overlay BOX PURPLE create from BOX ORANGE AND overlay BOX PURPLE opacity 1 in 0 AND overlay BOX PURPLE shifts to -5 188 in zone 1 AND overlay BOX PURPLE scales to 1.000 1.000 AND overlay BOX PURPLE moves to layer 3
&overlay BOX YELLOW create from BOX ORANGE AND overlay BOX YELLOW opacity 1 in 0 AND overlay BOX YELLOW shifts to 108 188 in zone 1 AND overlay BOX YELLOW scales to 1.000 1.000 AND overlay BOX YELLOW moves to layer 3
&overlay BOX GREEN create from BOX ORANGE AND overlay BOX GREEN opacity 1 in 0 AND overlay BOX GREEN shifts to 220 188 in zone 1 AND overlay BOX GREEN scales to 1.000 1.000 AND overlay BOX GREEN moves to layer 3
&overlay BOX TURQUOISE create from BOX ORANGE AND overlay BOX TURQUOISE opacity 1 in 0 AND overlay BOX TURQUOISE shifts to -5 75 in zone 1 AND overlay BOX TURQUOISE scales to 1.000 1.000 AND overlay BOX TURQUOISE moves to layer 3
&overlay BOX BLUE create from BOX ORANGE AND overlay BOX BLUE opacity 1 in 0 AND overlay BOX BLUE shifts to 108 75 in zone 1 AND overlay BOX BLUE scales to 1.000 1.000 AND overlay BOX BLUE moves to layer 3
&overlay BOX GUINDA create from BOX ORANGE AND overlay BOX GUINDA opacity 1 in 0 AND overlay BOX GUINDA shifts to 220 75 in zone 1 AND overlay BOX GUINDA scales to 1.000 1.000 AND overlay BOX GUINDA moves to layer 3
&overlay LILA C create AND overlay LILA C opacity 1 in 1 AND overlay LILA C shifts to 5 129 in zone 1 AND overlay LILA C scales to 0.683 0.683 AND overlay LILA C moves to layer 4
@pause for 2
&overlay LILA C shifts to 128 477 in zone 1 in 0.5 using easeout AND overlay LILA C scales to 0.142 0.142 in 0.5
@REBECCA =0
@speechbubble is 160 427 to 100%
NARRATOR
Where should this file go?

tappable [timed:60:timer to 2.000 242 452]
“BOX ORANGE” {
sound wrong_buzz
@REBECCA -1

} “BOX RED” {
sound wrong_buzz
@REBECCA -1

} “BOX LILA” {
sound wrong_buzz
@REBECCA -1

} “BOX PURPLE” {
sound wrong_buzz
@REBECCA -1

} “BOX YELLOW” {
sound wrong_buzz
@REBECCA -1

} “BOX GREEN” {
sound wrong_buzz
@REBECCA -1

} “BOX TURQUOISE” {
sound wrong_buzz
@REBECCA -1

} “BOX BLUE” {
sound wrong_buzz
@REBECCA -1

} “BOX GUINDA” {
sound wrong_buzz
@REBECCA -1

} “DISCARD” {
sound callbell
@REBECCA +1
goto red_c_rebecca

} “DONE” {
goto resultados_minigame1_rebecca

} “WRONG” {
goto resultados_minigame1_rebecca

}

2 Likes

Maybe @Farah_DeSantis can help U !! I’ve seen her helping with coding.

Sorry if u didn’t wanted to be tagged

1 Like

Add labels?

Thank you

1 Like

I thought that too, but if I add labels, I can only put them before the NARRATOR dialog, which causes the timer to be reset, and that is precisely what I don’t want to, so I asked if there was any way to do it and if not, to better put a timer much less time for each object, completing the 60 seconds on each object separately.

1 Like

Oh :sweat_smile:

Hi if you use timed tappable it’s not possible to go back and keep the timer running since the principle of a timed choice is to tap only on 1 choice in a specific time.

But if you need to reader go back and tap on several overlays in specific time there is a way how to do it with tappable

You will need a custom timer since you will use sim ple tappable (without command timeded)

  • if you want the timer visible.

And you will need one extra overlay covering the whole screen - this overlay will be offscreen and will move on screen after the time you want this minigame to go on.

So till this overlay is the reader can tap any tapable overlay (using label and goto), after the time he can tap only this big all-covering overlay - and this overlay will cause the minigame to end.

I have it in my story Cavemn - I will copy here my code to make it more clear.

The overlays witn name BUT are the one reader should tapp on, the one with name BLACK2 is the all covering overlay which will end the minigame - as you can see in the code it will appear after 45 seconds.

#####################################
label TAP_FLASHLIGHT
readerMessage minigame created with help of @episode.mistletoe
&overlay BLACK opacity 1 in 0.2
&overlay BUT_A opacity 1 in 0.2
&overlay BUT_B opacity 1 in 0.2
&overlay BUT_C opacity 1 in 0.2
&overlay BUT_D opacity 1 in 0.2
&overlay BUT_E opacity 1 in 0.2
&overlay BUT_F opacity 1 in 0.2
&overlay BUT_G opacity 1 in 0.2
&overlay BUT_H opacity 1 in 0.2
&overlay BUT_I opacity 1 in 0.2
&overlay BUT_J opacity 1 in 0.2
&overlay BLACK2 create AND overlay BLACK2 shifts to 500 500 AND overlay BLACK2 scales to 0.001 0.001 AND overlay BLACK2 moves to layer 101
&zoom reset
&cut to zone 3
@speechbubble is 160 427 to 100%
NARR
Pan the screen and tap the spots to search them.

&pause for 45 THEN overlay BLACK2 shifts to 0 0 in zone 1 in 0 AND overlay BLACK2 scales to 1 1 in 0 AND overlay BLACK2 opacity 1 in 1

&ui 45 opacity 1 in 0 THEN pause for 1 THEN ui 45 opacity 0 in 0 AND ui 44 opacity 1 in 0 THEN pause for 1 THEN ui 44 opacity 0 in 0 AND ui 43 opacity 1 in 0 THEN pause for 1 THEN ui 43 opacity 0 in 0 AND ui 42 opacity 1 in 0 THEN pause for 1 THEN ui 42 opacity 0 in 0 AND ui 41 opacity 1 in 0 THEN pause for 1 THEN ui 41 opacity 0 in 0 AND ui 40 opacity 1 in 0 THEN pause for 1 THEN ui 40 opacity 0 in 0 AND ui 39 opacity 1 in 0 THEN pause for 1 THEN ui 39 opacity 0 in 0 AND ui 38 opacity 1 in 0 THEN pause for 1 THEN ui 38 opacity 0 in 0 AND ui 37 opacity 1 in 0 THEN pause for 1 THEN ui 37 opacity 0 in 0 AND ui 36 opacity 1 in 0 THEN pause for 1 THEN ui 36 opacity 0 in 0 AND ui 35 opacity 1 in 0 THEN pause for 1 THEN ui 35 opacity 0 in 0 AND ui 34 opacity 1 in 0 THEN pause for 1 THEN ui 34 opacity 0 in 0 AND ui 33 opacity 1 in 0 THEN pause for 1 THEN ui 33 opacity 0 in 0 AND ui 32 opacity 1 in 0 THEN pause for 1 THEN ui 32 opacity 0 in 0 AND ui 31 opacity 1 in 0 THEN pause for 1 THEN ui 31 opacity 0 in 0 AND ui 30 opacity 1 in 0 THEN pause for 1 THEN ui 30 opacity 0 in 0 AND ui 29 opacity 1 in 0 THEN pause for 1 THEN ui 29 opacity 0 in 0 AND ui 28 opacity 1 in 0 THEN pause for 1 THEN ui 28 opacity 0 in 0 AND ui 27 opacity 1 in 0 THEN pause for 1 THEN ui 27 opacity 0 in 0 AND ui 26 opacity 1 in 0 THEN pause for 1 THEN ui 26 opacity 0 in 0 AND ui 25 opacity 1 in 0 THEN pause for 1 THEN ui 25 opacity 0 in 0 AND ui 24 opacity 1 in 0 THEN pause for 1 THEN ui 24 opacity 0 in 0 AND ui 23 opacity 1 in 0 THEN pause for 1 THEN ui 23 opacity 0 in 0 AND ui 22 opacity 1 in 0 THEN pause for 1 THEN ui 22 opacity 0 in 0 AND ui 21 opacity 1 in 0 THEN pause for 1 THEN ui 21 opacity 0 in 0 AND ui 20 opacity 1 in 0 THEN pause for 1 THEN ui 20 opacity 0 in 0 AND ui 19 opacity 1 in 0 THEN pause for 1 THEN ui 19 opacity 0 in 0 AND ui 18 opacity 1 in 0 THEN pause for 1 THEN ui 18 opacity 0 in 0 AND ui 17 opacity 1 in 0 THEN pause for 1 THEN ui 17 opacity 0 in 0 AND ui 16 opacity 1 in 0 THEN pause for 1 THEN ui 16 opacity 0 in 0 AND ui 15 opacity 1 in 0 THEN pause for 1 THEN ui 15 opacity 0 in 0 AND ui 14 opacity 1 in 0 THEN pause for 1 THEN ui 14 opacity 0 in 0 AND ui 13 opacity 1 in 0 THEN pause for 1 THEN ui 13 opacity 0 in 0 AND ui 12 opacity 1 in 0 THEN pause for 1 THEN ui 12 opacity 0 in 0 AND ui 11 opacity 1 in 0 THEN pause for 1 THEN ui 11 opacity 0 in 0 AND ui 10 opacity 1 in 0 THEN pause for 1 THEN ui 10 opacity 0 in 0 AND ui 9 opacity 1 in 0 THEN pause for 1 THEN ui 9 opacity 0 in 0 AND ui 8 opacity 1 in 0 THEN pause for 1 THEN ui 8 opacity 0 in 0 AND ui 7 opacity 1 in 0 THEN pause for 1 THEN ui 7 opacity 0 in 0 AND ui 6 opacity 1 in 0 THEN pause for 1 THEN ui 6 opacity 0 in 0 AND ui 5 opacity 1 in 0 THEN pause for 1 THEN ui 5 opacity 0 in 0 AND ui 4 opacity 1 in 0 THEN pause for 1 THEN ui 4 opacity 0 in 0 AND ui 3 opacity 1 in 0 THEN pause for 1 THEN ui 3 opacity 0 in 0 AND ui 2 opacity 1 in 0 THEN pause for 1 THEN ui 2 opacity 0 in 0 AND ui 1 opacity 1 in 0 THEN pause for 1 THEN ui 1 opacity 0 in 0 AND ui 0 opacity 1 in 0 THEN pause for 1 THEN ui 0 opacity 0 in 0

@speechbubble is 160 427 to 0%
label tappable_mini
&overlay BLACK opacity 1 in 0.5
&overlay BUT_A opacity 1 in 0.5
&overlay BUT_B opacity 1 in 0.5
&overlay BUT_C opacity 1 in 0.5
&overlay BUT_D opacity 1 in 0.5
&overlay BUT_E opacity 1 in 0.5
&overlay BUT_F opacity 1 in 0.5
&overlay BUT_G opacity 1 in 0.5
&overlay BUT_H opacity 1 in 0.5
&overlay BUT_I opacity 1 in 0.5
&overlay BUT_J opacity 1 in 0.5
tappable [pan:1:3]
“BUT_A” {
@overlay BUT_A opacity 0 in 0.5
&overlay FLASHLIGHT_HOLE shifts to 223 -273 in zone 1
@pause for 0.5
@overlay BLACK opacity 0 in 0.5
&pan to zone 2 in 0.5
@zoom on 599 276 to 302% in 0.5
&YOU is eyeroll_sarcastic
@pause for 2
@zoom on 599 276 to 100% in 0.5
@pause for 0.5
@overlay BLACK opacity 1 in 0.5
goto tappable_mini
} “BUT_B” {
@overlay BUT_B opacity 0 in 0.5
&overlay FLASHLIGHT_HOLE shifts to 150 -250 in zone 2
@pause for 0.5
@overlay BLACK opacity 0 in 0.5
&pan to zone 3 in 0.5
@zoom on 810 310 to 302% in 0.5
@pause for 2
@zoom on 810 310 to 100% in 0.5
@pause for 0.5
@overlay BLACK opacity 1 in 0.5
goto tappable_mini
} “BUT_C” {
@overlay BUT_C opacity 0 in 0.5
&overlay FLASHLIGHT_HOLE shifts to 244 -374 in zone 2
@pause for 0.5
@overlay BLACK opacity 0 in 0.5
&pan to zone 3 in 0.5
@zoom on 945 131 to 302% in 0.5
@pause for 2
@zoom on 945 131 to 100% in 0.5
@pause for 0.5
@overlay BLACK opacity 1 in 0.5
goto tappable_mini
} “BUT_D” {
@overlay BUT_D opacity 0 in 0.5
&overlay FLASHLIGHT_HOLE shifts to -269 -336 in zone 1
@pause for 0.5
@overlay BLACK opacity 0 in 0.5
&pan to zone 1 in 0.5
@zoom on 20 187 to 302% in 0.5
@pause for 2
@zoom on 20 187 to 100% in 0.5
@pause for 0.5
@overlay BLACK opacity 1 in 0.5
goto tappable_mini
} “BUT_E” {
@overlay BUT_E opacity 0 in 0.5
&overlay FLASHLIGHT_HOLE shifts to 22 -473 in zone 1
@pause for 0.5
@overlay BLACK opacity 0 in 0.5
&pan to zone 2 in 0.5
@zoom on 320 0 to 302% in 0.5
@POINT +1
readerMessage +1 point
@pause for 2
goto after_flash
} “BUT_F” {
@overlay BUT_F opacity 0 in 0.5
&overlay FLASHLIGHT_HOLE shifts to -72 -233 in zone 1
@pause for 0.5
@overlay BLACK opacity 0 in 0.5
&pan to zone 1 in 0.5
@zoom on 308 335 to 302% in 0.5
@pause for 2
@zoom on 308 335 to 100% in 0.5
@pause for 0.5
@overlay BLACK opacity 1 in 0.5
goto tappable_mini
} “BUT_G” {
@overlay BUT_G opacity 0 in 0.5
&overlay FLASHLIGHT_HOLE shifts to -65 -456 in zone 1
@pause for 0.5
@overlay BLACK opacity 0 in 0.5
&pan to zone 1 in 0.5
@zoom on 320 38 to 302% in 0.5
@pause for 2
@zoom on 320 38 to 100% in 0.5
@pause for 0.5
@overlay BLACK opacity 1 in 0.5
goto tappable_mini
} “BUT_H” {
@overlay BUT_H opacity 0 in 0.5
&overlay FLASHLIGHT_HOLE shifts to 63 -305 in zone 1
@pause for 0.5
@overlay BLACK opacity 0 in 0.5
&pan to zone 2 in 0.5
@zoom on 357 228 to 302% in 0.5
@pause for 2
@zoom on 357 228 to 100% in 0.5
@pause for 0.5
@overlay BLACK opacity 1 in 0.5
goto tappable_mini
} “BUT_I” {
@overlay BUT_I opacity 0 in 0.5
&overlay FLASHLIGHT_HOLE shifts to -275 -229 in zone 1
@pause for 0.5
@overlay BLACK opacity 0 in 0.5
&pan to zone 1 in 0.5
@zoom on 0 345 to 302% in 0.5
@pause for 2
@zoom on 0 345 to 100% in 0.5
@pause for 0.5
@overlay BLACK opacity 1 in 0.5
goto tappable_mini
} “BUT_J” {
@overlay BUT_J opacity 0 in 0.5
&overlay FLASHLIGHT_HOLE shifts to 51 -428 in zone 2
@pause for 0.5
@overlay BLACK opacity 0 in 0.5
&pan to zone 3 in 0.5
@zoom on 646 44 to 302% in 0.5
@pause for 2
@zoom on 646 44 to 100% in 0.5
@pause for 0.5
@overlay BLACK opacity 1 in 0.5
goto tappable_mini
} “BLACK2” {
goto notfound
}

4 Likes

Thank you very much! It’s really helpful, I’ll try it on my story! I’ll give you and @episode.mistletoe some credit. :heart:

2 Likes

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