Branching points

I’m trying to add more choices and minigames into my new story but I suck at branching :sleepy:
And a points system :woman_facepalming:
This part is where the mc needs to pick somewhere to teleport to, I have that part but I can’t figure out how to add a point to the mc if they choose the right place on their first try but not any other tries because they can keep trying until they get it right
If anyone could help it would be greatly appreciated :revolving_hearts:
I swear I’ll stop needing help eventually :joy: :sob:
It’s the more advanced coding! I’m not used to it :joy:

label tap_choose_place

@zoom reset

    NARRATOR
Press the arrows to pick somewhere to teleport to.
Remember you need to pick somewhere empty otherwise you will have to try again.

&ui LEFT SKINNY ARROW create and ui LEFT SKINNY ARROW scales to 1.522 1.522 in 0 and ui LEFT SKINNY ARROW shifts to 5 214 in 0 and ui LEFT SKINNY ARROW opacity 1 in 0
&ui RIGHT SKINNY ARROW create and ui RIGHT SKINNY ARROW scales to 1.522 1.522 in 0 and ui RIGHT SKINNY ARROW shifts to 200 214 in 0 and ui RIGHT SKINNY ARROW opacity 1 in 0
&ui CHOOSE create and ui CHOOSE scales to 0.4 0.4 in 0 and ui CHOOSE shifts to 75 110 in 0 and ui CHOOSE opacity 0 in 0

tappable
“LEFT SKINNY ARROW” {
&ui CHOOSE opacity 0.8 in 0.1
goto tap_place_1
} “RIGHT SKINNY ARROW” {
&ui CHOOSE opacity 0.8 in 0.1
goto tap_place_3
}

label tap_place_1
@ZEUS =1

INT. WOOD CLASSROOM with CLASSROOM BACK TABLES to 1.0 1.0 1.0 at layer 4 with CLASSROOM CHAIRS to 1.0 1.0 1.0 at layer 5 with CLASSROOM FRONT TABLES to 1.0 1.0 1.0 at layer 8 with CLASSROOM CHAIRS 2 to 0.874 -1 101 at layer 1
&overlay LEFT SKINNY ARROW create and overlay LEFT SKINNY ARROW scales to 1.522 1.522 in 0 and overlay LEFT SKINNY ARROW shifts to 5 214 in 0 and overlay LEFT SKINNY ARROW opacity 1 in 0
&overlay RIGHT SKINNY ARROW create and overlay RIGHT SKINNY ARROW scales to 1.522 1.522 in 0 and overlay RIGHT SKINNY ARROW shifts to 200 214 in 0 and overlay RIGHT SKINNY ARROW opacity 1 in 0
&overlay CHOOSE create and overlay CHOOSE scales to 0.4 0.4 in 0 and overlay CHOOSE shifts to 75 110 in 0 and overlay CHOOSE opacity 1 in 0

&COLLEGEMALE1 spot 0.857 165 146 in zone 1 AND COLLEGEMALE1 faces left AND COLLEGEMALE1 moves to layer 3
&COLLEGEMALE3 spot 0.893 204 62 in zone 1 AND COLLEGEMALE3 faces left AND COLLEGEMALE3 moves to layer 7
&COLLEGEFEMALE2 spot 0.848 81 129 in zone 1 AND COLLEGEFEMALE2 faces right AND COLLEGEFEMALE2 moves to layer 3
&COLLEGEFEMALE4 spot 0.875 94 52 in zone 1 AND COLLEGEFEMALE4 faces right AND COLLEGEFEMALE4 moves to layer 6
&CASSIA2 stands screen center in zone 2 AND CASSIA2 is eyeroll_sarcastic_atcamera

tappable
“LEFT SKINNY ARROW” {
goto tap_place_3
} “RIGHT SKINNY ARROW” {
goto tap_place_2
} “CHOOSE” {
goto label classroom_teleport
}
tappable
“LEFT SKINNY ARROW” {
goto tap_place_3
} “RIGHT SKINNY ARROW” {
goto tap_place_2
} “CHOOSE” {
goto label bedroom_teleport
}

label tap_place_2
@ZEUS =2
INT. DUMPY APARTMENT BEDROOM - DAY
&overlay LEFT SKINNY ARROW create and overlay LEFT SKINNY ARROW scales to 1.522 1.522 in 0 and overlay LEFT SKINNY ARROW shifts to 5 214 in 0 and overlay LEFT SKINNY ARROW opacity 1 in 0
&overlay RIGHT SKINNY ARROW create and overlay RIGHT SKINNY ARROW scales to 1.522 1.522 in 0 and overlay RIGHT SKINNY ARROW shifts to 200 214 in 0 and overlay RIGHT SKINNY ARROW opacity 1 in 0
&overlay CHOOSE create and overlay CHOOSE scales to 0.4 0.4 in 0 and overlay CHOOSE shifts to 75 110 in 0 and overlay CHOOSE opacity 1 in 0
&cut to zone 1

tappable
“LEFT SKINNY ARROW” {
goto tap_place_1
} “RIGHT SKINNY ARROW” {
goto tap_place_3
} “CHOOSE” {
goto label bedroom_teleport
}

label tap_place_3
@ZEUS =3

EXT. GRIFFITH PARK - DAY
&overlay LEFT SKINNY ARROW create and overlay LEFT SKINNY ARROW scales to 1.522 1.522 in 0 and overlay LEFT SKINNY ARROW shifts to 5 214 in 0 and overlay LEFT SKINNY ARROW opacity 1 in 0
&overlay RIGHT SKINNY ARROW create and overlay RIGHT SKINNY ARROW scales to 1.522 1.522 in 0 and overlay RIGHT SKINNY ARROW shifts to 200 214 in 0 and overlay RIGHT SKINNY ARROW opacity 1 in 0
&overlay CHOOSE create and overlay CHOOSE scales to 0.4 0.4 in 0 and overlay CHOOSE shifts to 75 110 in 0 and overlay CHOOSE opacity 1 in 0
tappable
“LEFT SKINNY ARROW” {
goto tap_place_2
} “RIGHT SKINNY ARROW” {
goto tap_place_1
} “CHOOSE” {
goto label outdoor_teleport
}

label classroom_teleport
&overlay CHOOSE opacity 0 in 0
&overlay LEFT SKINNY ARROW opacity 0 in 0
&overlay RIGHT SKINNY ARROW opacity 0 in 0
@overlay LIGHT BLUE GLOW create
@overlay LIGHT BLUE GLOW shifts to -11 75 in zone 1
@overlay LIGHT BLUE GLOW to layer 11
@overlay LIGHT BLUE GLOW scales to 1.774 1.774
@overlay LIGHT BLUE GLOW opacity 1 in 1
@CASSIA spot 1.250 160 0 in zone 1 AND CASSIA moves to layer 10 AND CASSIA faces right AND CASSIA is idle_armscrossed_neutral_loop
@overlay LIGHT BLUE GLOW opacity 0 in 1
@CASSIA is idle_terrified_loop_rear AND COLLEGEMALE1 is react_mortified AND COLLEGEMALE3 is react_gasp_dismayed AND COLLEGEFEMALE2 is react_mortified AND COLLEGEFEMALE4 is react_shocked_awe
@pause for a beat
@CASSIA2 spot 1.250 160 0 in zone 1 AND CASSIA2 moves to layer 10 AND CASSIA2 faces right AND remove CASSIA AND zoom on 153 363 to 225% in 0

    CASSIA2
Well this wasn't quite then plan.

    NARRATOR
You teleported to the wrong place!

@zoom reset

goto label tap_choose_place

label bedroom_teleport
@BEDROOMTELEPORTGUY changes into BEDROOMTELEPORTGUY_default
INT. DUMPY APARTMENT BEDROOM - DAY
&cut to zone 1
&BEDROOMTELEPORTGUY spot 1.352 150 0 in zone 2
&overlay CHOOSE opacity 0 in 0
&overlay LEFT SKINNY ARROW opacity 0 in 0
&overlay RIGHT SKINNY ARROW opacity 0 in 0
@overlay LIGHT BLUE GLOW create
@overlay LIGHT BLUE GLOW shifts to -11 75 in zone 1
@overlay LIGHT BLUE GLOW to layer 11
@overlay LIGHT BLUE GLOW scales to 1.774 1.774
@overlay LIGHT BLUE GLOW opacity 1 in 1
@CASSIA spot 1.250 160 0 in zone 1 AND CASSIA moves to layer 10 AND CASSIA faces left AND CASSIA is idle_armscrossed_neutral_loop
@overlay LIGHT BLUE GLOW opacity 0 in 1
@BEDROOMTELEPORTGUY walks to spot 1.352 242 -1 in zone 1 AND CASSIA is think_rubchin THEN CASSIA faces right AND CASSIA is react_shocked_gasp AND BEDROOMTELEPORTGUY is react_scream_horror

    CASSIA
(Well this didn't go how it was supposed to.)

    NARRATOR
You teleported to the wrong place!

goto label tap_choose_place

label outdoor_teleport

EXT. GRIFFITH PARK - DAY
&overlay CHOOSE opacity 0 in 0
&overlay LEFT SKINNY ARROW opacity 0 in 0
&overlay RIGHT SKINNY ARROW opacity 0 in 0
@overlay LIGHT BLUE GLOW create
@overlay LIGHT BLUE GLOW shifts to -11 75 in zone 1
@overlay LIGHT BLUE GLOW to layer 11
@overlay LIGHT BLUE GLOW scales to 1.774 1.774
@overlay LIGHT BLUE GLOW opacity 1 in 1
@CASSIA spot 1.250 160 0 in zone 1 AND CASSIA moves to layer 10 AND CASSIA faces left AND CASSIA is idle_armscrossed_neutral_loop
@overlay LIGHT BLUE GLOW opacity 0 in 1

So for this, I’d suggest you use two cases. So for the first tappable branch, I’d send readers to a first case scenario (outside of the current branching). For example, everything would primarily remain the same. The setup would also remain the same in the sense of overlay directing. The only difference is where the readers are sent after making their first choice. So for example…

Script
@zoom reset

    NARRATOR
Press the arrows to pick somewhere to teleport to.
Remember you need to pick somewhere empty otherwise you will have to try again.


&ui LEFT SKINNY ARROW create and ui LEFT SKINNY ARROW scales to 1.522 1.522 in 0 and ui LEFT SKINNY ARROW shifts to 5 214 in 0 and ui LEFT SKINNY ARROW opacity 1 in 0
&ui RIGHT SKINNY ARROW create and ui RIGHT SKINNY ARROW scales to 1.522 1.522 in 0 and ui RIGHT SKINNY ARROW shifts to 200 214 in 0 and ui RIGHT SKINNY ARROW opacity 1 in 0
&ui CHOOSE create and ui CHOOSE scales to 0.4 0.4 in 0 and ui CHOOSE shifts to 75 110 in 0 and ui CHOOSE opacity 0 in 0

tappable
"LEFT SKINNY ARROW" {
&ui CHOOSE opacity 0.8 in 0.1
goto tap_place_1_first
} "RIGHT SKINNY ARROW" {
&ui CHOOSE opacity 0.8 in 0.1
goto tap_place_3_first
}

label tap_place_1_first
@ZEUS =1

INT. WOOD CLASSROOM with CLASSROOM BACK TABLES to 1.0 1.0 1.0 at layer 4 with CLASSROOM CHAIRS to 1.0 1.0 1.0 at layer 5 with CLASSROOM FRONT TABLES to 1.0 1.0 1.0 at layer 8 with CLASSROOM CHAIRS 2 to 0.874 -1 101 at layer 1
&overlay LEFT SKINNY ARROW create and overlay LEFT SKINNY ARROW scales to 1.522 1.522 in 0 and overlay LEFT SKINNY ARROW shifts to 5 214 in 0 and overlay LEFT SKINNY ARROW opacity 1 in 0
&overlay RIGHT SKINNY ARROW create and overlay RIGHT SKINNY ARROW scales to 1.522 1.522 in 0 and overlay RIGHT SKINNY ARROW shifts to 200 214 in 0 and overlay RIGHT SKINNY ARROW opacity 1 in 0
&overlay CHOOSE create and overlay CHOOSE scales to 0.4 0.4 in 0 and overlay CHOOSE shifts to 75 110 in 0 and overlay CHOOSE opacity 1 in 0

&COLLEGEMALE1 spot 0.857 165 146 in zone 1 AND COLLEGEMALE1 faces left AND COLLEGEMALE1 moves to layer 3
&COLLEGEMALE3 spot 0.893 204 62 in zone 1 AND COLLEGEMALE3 faces left AND COLLEGEMALE3 moves to layer 7
&COLLEGEFEMALE2 spot 0.848 81 129 in zone 1 AND COLLEGEFEMALE2 faces right AND COLLEGEFEMALE2 moves to layer 3
&COLLEGEFEMALE4 spot 0.875 94 52 in zone 1 AND COLLEGEFEMALE4 faces right AND COLLEGEFEMALE4 moves to layer 6
&CASSIA2 stands screen center in zone 2 AND CASSIA2 is eyeroll_sarcastic_atcamera

label tap_choose_place
&ui LEFT SKINNY ARROW create and ui LEFT SKINNY ARROW scales to 1.522 1.522 in 0 and ui LEFT SKINNY ARROW shifts to 5 214 in 0 and ui LEFT SKINNY ARROW opacity 1 in 0
&ui RIGHT SKINNY ARROW create and ui RIGHT SKINNY ARROW scales to 1.522 1.522 in 0 and ui RIGHT SKINNY ARROW shifts to 200 214 in 0 and ui RIGHT SKINNY ARROW opacity 1 in 0
&ui CHOOSE create and ui CHOOSE scales to 0.4 0.4 in 0 and ui CHOOSE shifts to 75 110 in 0 and ui CHOOSE opacity 0 in 0

tappable
"LEFT SKINNY ARROW" {
goto tap_place_3
} "RIGHT SKINNY ARROW" {
goto tap_place_2
} “CHOOSE” {
goto label classroom_teleport
}
tappable
"LEFT SKINNY ARROW" {
goto tap_place_3
} "RIGHT SKINNY ARROW" {
goto tap_place_2
} "CHOOSE" {
goto label bedroom_teleport
}

label tap_place_3_first
@ZEUS =3

EXT. GRIFFITH PARK - DAY
&overlay LEFT SKINNY ARROW create and overlay LEFT SKINNY ARROW scales to 1.522 1.522 in 0 and overlay LEFT SKINNY ARROW shifts to 5 214 in 0 and overlay LEFT SKINNY ARROW opacity 1 in 0
&overlay RIGHT SKINNY ARROW create and overlay RIGHT SKINNY ARROW scales to 1.522 1.522 in 0 and overlay RIGHT SKINNY ARROW shifts to 200 214 in 0 and overlay RIGHT SKINNY ARROW opacity 1 in 0
&overlay CHOOSE create and overlay CHOOSE scales to 0.4 0.4 in 0 and overlay CHOOSE shifts to 75 110 in 0 and overlay CHOOSE opacity 1 in 0
tappable
"LEFT SKINNY ARROW" {
goto tap_place_2
} "RIGHT SKINNY ARROW" {
goto tap_place_1
} "CHOOSE" {
goto label outdoor_teleport
}

label tap_place_1

INT. WOOD CLASSROOM with CLASSROOM BACK TABLES to 1.0 1.0 1.0 at layer 4 with CLASSROOM CHAIRS to 1.0 1.0 1.0 at layer 5 with CLASSROOM FRONT TABLES to 1.0 1.0 1.0 at layer 8 with CLASSROOM CHAIRS 2 to 0.874 -1 101 at layer 1
&overlay LEFT SKINNY ARROW create and overlay LEFT SKINNY ARROW scales to 1.522 1.522 in 0 and overlay LEFT SKINNY ARROW shifts to 5 214 in 0 and overlay LEFT SKINNY ARROW opacity 1 in 0
&overlay RIGHT SKINNY ARROW create and overlay RIGHT SKINNY ARROW scales to 1.522 1.522 in 0 and overlay RIGHT SKINNY ARROW shifts to 200 214 in 0 and overlay RIGHT SKINNY ARROW opacity 1 in 0
&overlay CHOOSE create and overlay CHOOSE scales to 0.4 0.4 in 0 and overlay CHOOSE shifts to 75 110 in 0 and overlay CHOOSE opacity 1 in 0

&COLLEGEMALE1 spot 0.857 165 146 in zone 1 AND COLLEGEMALE1 faces left AND COLLEGEMALE1 moves to layer 3
&COLLEGEMALE3 spot 0.893 204 62 in zone 1 AND COLLEGEMALE3 faces left AND COLLEGEMALE3 moves to layer 7
&COLLEGEFEMALE2 spot 0.848 81 129 in zone 1 AND COLLEGEFEMALE2 faces right AND COLLEGEFEMALE2 moves to layer 3
&COLLEGEFEMALE4 spot 0.875 94 52 in zone 1 AND COLLEGEFEMALE4 faces right AND COLLEGEFEMALE4 moves to layer 6
&CASSIA2 stands screen center in zone 2 AND CASSIA2 is eyeroll_sarcastic_atcamera

tappable
"LEFT SKINNY ARROW" {
goto tap_place_3
} "RIGHT SKINNY ARROW" {
goto tap_place_2
} "CHOOSE" {
goto label classroom_teleport
}
tappable
"LEFT SKINNY ARROW" {
goto tap_place_3
} "RIGHT SKINNY ARROW" {
goto tap_place_2
} "CHOOSE" {
goto label bedroom_teleport
}

label tap_place_2

INT. DUMPY APARTMENT BEDROOM - DAY
&overlay LEFT SKINNY ARROW create and overlay LEFT SKINNY ARROW scales to 1.522 1.522 in 0 and overlay LEFT SKINNY ARROW shifts to 5 214 in 0 and overlay LEFT SKINNY ARROW opacity 1 in 0
&overlay RIGHT SKINNY ARROW create and overlay RIGHT SKINNY ARROW scales to 1.522 1.522 in 0 and overlay RIGHT SKINNY ARROW shifts to 200 214 in 0 and overlay RIGHT SKINNY ARROW opacity 1 in 0
&overlay CHOOSE create and overlay CHOOSE scales to 0.4 0.4 in 0 and overlay CHOOSE shifts to 75 110 in 0 and overlay CHOOSE opacity 1 in 0
&cut to zone 1

tappable
"LEFT SKINNY ARROW" {
goto tap_place_1
} "RIGHT SKINNY ARROW"{
goto tap_place_3
} "CHOOSE" {
goto label bedroom_teleport
}

label tap_place_3

EXT. GRIFFITH PARK - DAY
&overlay LEFT SKINNY ARROW create and overlay LEFT SKINNY ARROW scales to 1.522 1.522 in 0 and overlay LEFT SKINNY ARROW shifts to 5 214 in 0 and overlay LEFT SKINNY ARROW opacity 1 in 0
&overlay RIGHT SKINNY ARROW create and overlay RIGHT SKINNY ARROW scales to 1.522 1.522 in 0 and overlay RIGHT SKINNY ARROW shifts to 200 214 in 0 and overlay RIGHT SKINNY ARROW opacity 1 in 0
&overlay CHOOSE create and overlay CHOOSE scales to 0.4 0.4 in 0 and overlay CHOOSE shifts to 75 110 in 0 and overlay CHOOSE opacity 1 in 0
tappable
"LEFT SKINNY ARROW" {
goto tap_place_2
} "RIGHT SKINNY ARROW" {
goto tap_place_1
} "CHOOSE" {
goto label outdoor_teleport
}

label classroom_teleport
&overlay CHOOSE opacity 0 in 0
&overlay LEFT SKINNY ARROW opacity 0 in 0
&overlay RIGHT SKINNY ARROW opacity 0 in 0
@overlay LIGHT BLUE GLOW create
@overlay LIGHT BLUE GLOW shifts to -11 75 in zone 1
@overlay LIGHT BLUE GLOW to layer 11
@overlay LIGHT BLUE GLOW scales to 1.774 1.774
@overlay LIGHT BLUE GLOW opacity 1 in 1
@CASSIA spot 1.250 160 0 in zone 1 AND CASSIA moves to layer 10 AND CASSIA faces right AND CASSIA is idle_armscrossed_neutral_loop
@overlay LIGHT BLUE GLOW opacity 0 in 1
@CASSIA is idle_terrified_loop_rear AND COLLEGEMALE1 is react_mortified AND COLLEGEMALE3 is react_gasp_dismayed AND COLLEGEFEMALE2 is react_mortified AND COLLEGEFEMALE4 is react_shocked_awe
@pause for a beat
@CASSIA2 spot 1.250 160 0 in zone 1 AND CASSIA2 moves to layer 10 AND CASSIA2 faces right AND remove CASSIA AND zoom on 153 363 to 225% in 0

    CASSIA2
Well this wasn't quite then plan.

    NARRATOR
You teleported to the wrong place!
@zoom reset

goto label tap_choose_place

label bedroom_teleport
@BEDROOMTELEPORTGUY changes into BEDROOMTELEPORTGUY_default
INT. DUMPY APARTMENT BEDROOM - DAY
&cut to zone 1
&BEDROOMTELEPORTGUY spot 1.352 150 0 in zone 2
&overlay CHOOSE opacity 0 in 0
&overlay LEFT SKINNY ARROW opacity 0 in 0
&overlay RIGHT SKINNY ARROW opacity 0 in 0
@overlay LIGHT BLUE GLOW create
@overlay LIGHT BLUE GLOW shifts to -11 75 in zone 1
@overlay LIGHT BLUE GLOW to layer 11
@overlay LIGHT BLUE GLOW scales to 1.774 1.774
@overlay LIGHT BLUE GLOW opacity 1 in 1
@CASSIA spot 1.250 160 0 in zone 1 AND CASSIA moves to layer 10 AND CASSIA faces left AND CASSIA is idle_armscrossed_neutral_loop
@overlay LIGHT BLUE GLOW opacity 0 in 1
@BEDROOMTELEPORTGUY walks to spot 1.352 242 -1 in zone 1 AND CASSIA is think_rubchin THEN CASSIA faces right AND CASSIA is react_shocked_gasp AND BEDROOMTELEPORTGUY is react_scream_horror

    CASSIA
(Well this didn't go how it was supposed to.)

    NARRATOR
You teleported to the wrong place!
goto label tap_choose_place

label outdoor_teleport

EXT. GRIFFITH PARK - DAY
&overlay CHOOSE opacity 0 in 0
&overlay LEFT SKINNY ARROW opacity 0 in 0
&overlay RIGHT SKINNY ARROW opacity 0 in 0
@overlay LIGHT BLUE GLOW create
@overlay LIGHT BLUE GLOW shifts to -11 75 in zone 1
@overlay LIGHT BLUE GLOW to layer 11
@overlay LIGHT BLUE GLOW scales to 1.774 1.774
@overlay LIGHT BLUE GLOW opacity 1 in 1
@CASSIA spot 1.250 160 0 in zone 1 AND CASSIA moves to layer 10 AND CASSIA faces left AND CASSIA is idle_armscrossed_neutral_loop
@overlay LIGHT BLUE GLOW opacity 0 in 1

Points after the first game will no longer be necessary to change, which is why I’ve removed them. Along with this, you’ll be able to see whether or not they’ve chosen correctly based off Zeus’s points. if ZEUS =3, they were correct first try. If they have any other point amount, most likely 1, they were wrong and needed to try again. I hope this works, let me know if it doesn’t! I wrote it here, so I fully expect errors :sweat_smile:

1 Like

Thank you! Let me test this now

1 Like

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