Skip to content

Commit a7cdd9c

Browse files
authored
feat(booth): send idle and finished players back to the attract screen (#81)
* feat(booth): send idle and finished players back to the attract screen [Agent: Claude Code | Model: Opus 5.5 | Thinking: High | Acting on behalf of: Erik | Skill: none] At a booth, a lost game offers the same player unlimited retries while the line waits, and the idle return always goes to the hub. Booth mode only; outside it every game keeps its own retry screen. - --attract=<route> (default hub) is where the idle return and finished players go. Unknown names fall back to the hub with a warning. - Games call AppRouter.booth_game_over(score_line) at game over. A booth player gets --retries=<n> retries (default 0); after that the call returns true, the game skips its retry screen, and the router lays app/next_player_card.gd over it: GAME OVER, the game's score, "Thanks for playing!" and a six-second countdown, then the attract route opens. The count resets whenever the attract route opens. The session log records those endings as game_over. - One hook per game-over path, in Juan's and Trey's scripts: Heroes vs. Villains and Code City Brawl game_over(), the platformer's _reveal_results() on a loss, and the runner's game-over screen. - tools/booth/macos/setup.sh passes anything after -- to the game, so staff can set --retries or --attract in the login item. - tests/booth_routing.gd drives each game's real game-over path in and out of booth mode, the retry allowance, the card, the attract and idle routes and the session-log endings. Child launches go through tests/support/child_game.gd, which kills a child that overruns. * fix(booth): limit attract routes to menus, count losses per session, finish the card on exit [Agent: Claude Code | Model: Opus 5.5 | Thinking: High | Acting on behalf of: Erik | Skill: none] Addresses CodeRabbit review 5541793941 on #81: - --attract accepts only hub, beatem_up and runner: menus that wait for a player and start their own music. A game route would play by itself, collide with native retries and same-game sessions, and the platformer menu would be silent after a beat 'em up. - booth_game_over() declines while a route change is under way, which would otherwise hide the fresh card. - Turning booth mode off while the card counts down hands off to the attract route at once instead of stranding a paused game. - The session log counts each session's losses (game_overs), so stage retries that stay in the game show up; the report adds the column. - setup.sh appends the arguments left after -- directly. - tests/booth_routing.gd drives the real runner game (isolated leaderboard) through run_finished, checks the six-second start, a takeover during a route change, booth mode off mid-countdown and the loss count, asserts the child's exit code, and gives the child its own session-log folder. The runbook row covers configured retries.
1 parent 08db8ed commit a7cdd9c

20 files changed

Lines changed: 445 additions & 27 deletions

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ HoppysAdventureArcade.exe -- --booth --route=heroes_vs_villains
4040
./HoppysAdventureArcade.x86_64 -- --booth --route=heroes_vs_villains # Linux
4141
```
4242

43-
Booth mode runs fullscreen and ignores the menu's **Quit Game**, so staff close the window instead. After 90 seconds without input, any game returns to the hub's attract screen. [Run it at a booth](docs/builds.md#run-it-at-a-booth) lists every route and flag.
43+
Booth mode runs fullscreen and ignores the menu's **Quit Game**, so staff close the window instead. After 90 seconds without input, any game returns to the hub's attract screen, and a lost game sends the player there after a thank-you card instead of offering endless retries. [Run it at a booth](docs/builds.md#run-it-at-a-booth) lists every route and flag.
4444

4545
For a machine that runs unattended all day, follow the [booth runbook](docs/booth-runbook.md). It sets up a watchdog that restarts the game if it closes or freezes, along with the Mac's kiosk settings, and covers the staff checklist.
4646

‎docs/booth-runbook.md‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ This runbook is for the staff who run Hoppy’s Adventure Arcade unattended at a
1717
```sh
1818
tools/booth/macos/setup.sh --app "/Applications/Hoppy’s Adventure Arcade.app" --route heroes_vs_villains
1919
```
20-
Nothing changes yet. To apply it, run the same command with `--apply` and enter the administrator password when asked. The game starts.
20+
Nothing changes yet. To apply it, run the same command with `--apply` and enter the administrator password when asked. The game starts. To give each player a retry or change the attract screen, add game flags after `--`, for example `-- --retries=1 --attract=beatem_up` ([booth flags](builds.md#run-it-at-a-booth)).
2121
4. Do the manual steps the script lists at the end: automatic login, Do Not Disturb, the display, the volume and the controllers.
2222
5. Restart the Mac. The game should start on its own within a minute.
2323

@@ -27,7 +27,7 @@ The setup does the following:
2727
- It keeps the Mac awake and turns it back on after a power cut.
2828
- It turns off the screen saver, automatic updates and crash dialogs.
2929

30-
Booth mode itself runs fullscreen, ignores the menu's **Quit Game**, and sends a game nobody has touched for 90 seconds back to the hub's attract screen ([details](builds.md#run-it-at-a-booth)).
30+
Booth mode itself runs fullscreen and ignores the menu's **Quit Game**. A game nobody has touched for 90 seconds goes back to the hub's attract screen, and so does a lost game, after a thank-you card for the player ([details](builds.md#run-it-at-a-booth)).
3131

3232
## Every morning
3333

@@ -40,6 +40,7 @@ Booth mode itself runs fullscreen, ignores the menu's **Quit Game**, and sends a
4040
| What happens | What you'll see |
4141
|---|---|
4242
| A player walks away mid-game | After 90 seconds the game returns to the hub. |
43+
| A player loses | Once they have used any retries you set (none by default), a **GAME OVER** card thanks them and shows their score. After six seconds the attract screen (the hub unless you set another) opens for the next player. |
4344
| The game crashes or closes | The watchdog opens it again within a few seconds. |
4445
| The game freezes | The watchdog restarts it within about a minute. |
4546
| Someone presses Cmd+Q | The game closes, and the watchdog opens it again. |

‎docs/builds.md‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,12 @@ open -a "Hoppy’s Adventure Arcade.app" --args -- --booth --route=heroes_vs_vil
3333
```
3434

3535
- **Fullscreen.** The game starts fullscreen without changing the saved settings.
36-
- **Idle reset.** After 90 seconds with no keyboard, mouse, touch or controller input, any game returns to the hub, whose rotating previews act as the attract screen.
36+
- **Idle reset.** After 90 seconds with no keyboard, mouse, touch or controller input, any game returns to the attract route. That is the hub, whose rotating previews act as the attract screen, unless `--attract=` names `beatem_up` or `runner`, the other menus that start their own music.
37+
- **Game over.** A lost game doesn't offer unlimited retries. A player gets `--retries=<n>` retries (default 0); after that, the game shows no retry screen. Instead a **GAME OVER** card thanks the player, shows their score and counts down six seconds, then the attract route opens for the next player. The count starts again whenever the attract route opens. Every game takes part: Heroes vs. Villains, Code City Brawl, the platformer levels and the Endless Runner. Without `--booth`, every game keeps its own retry screen.
3738
- **No quitting from the menu.** The menu's **Quit Game** does nothing in booth mode; staff close the window (Cmd+Q, Alt+F4).
3839
- **Launch route.** `--route=<name>` opens a route at launch (`heroes_vs_villains`, `code_city_brawl`, `bay_area_blitz`, `orbital_ops`, `enchanted_repo`, `runner`, `platformer`, `beatem_up`, `hub`), with or without `--booth`. An unknown name logs an error and opens the hub.
3940
- **Keep it running.** `tools/booth/watchdog.sh` relaunches the game whenever it exits and restarts it when it hangs. The watchdog passes `--heartbeat=<path>`, which makes the game rewrite that file with the current time every two seconds; a file that stops changing means the game is stuck. On a Mac, `tools/booth/macos/setup.sh` installs the watchdog as a login item and applies the kiosk settings. The [booth runbook](booth-runbook.md) walks staff through setup, the show days and recovery.
40-
- **Session log.** Booth mode records each game session's start and end in `user://booth/`, one file per run of the game (`sessions-<date and time>-<process id>.jsonl`). Each entry records the game, the local start and end times, the duration, how the session ended (`menu`, `idle` or `quit`) and how many times the player retried. It records nothing about players and never uses the network. A start with no end means the game stopped without quitting: a crash, a power cut or a forced kill. The game prints its file's full path at startup. `--session-log=<folder>` writes to another folder and works without `--booth`, for playtests.
41+
- **Session log.** Booth mode records each game session's start and end in `user://booth/`, one file per run of the game (`sessions-<date and time>-<process id>.jsonl`). Each entry records the game, the local start and end times, the duration, how the session ended (`menu`, `idle`, `game_over` or `quit`), how many times the player re-entered the game, and how many times they lost (`game_overs`, stage retries included). It records nothing about players and never uses the network. A start with no end means the game stopped without quitting: a crash, a power cut or a forced kill. The game prints its file's full path at startup. `--session-log=<folder>` writes to another folder and works without `--booth`, for playtests.
4142

4243
`user://` is `~/Library/Application Support/Godot/app_userdata/Hoppy’s Adventure Arcade/` on macOS, `%APPDATA%\Godot\app_userdata\Hoppy’s Adventure Arcade\` on Windows and `~/.local/share/godot/app_userdata/Hoppy’s Adventure Arcade/` on Linux. To summarize the logs, copy each machine's `booth` folder and run:
4344

‎hoppys-adventure-arcade/app/app_router.gd‎

Lines changed: 93 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
extends CanvasLayer
22
const BoothLog := preload("res://app/booth_log.gd")
33
const BoothHeartbeat := preload("res://app/booth_heartbeat.gd")
4+
const NextPlayerCard := preload("res://app/next_player_card.gd")
45
const ROUTES := {
56
"heroes_vs_villains": "res://scenes/beatem_up/reinvent/heroes_vs_villains.tscn",
67
"code_city_brawl": "res://scenes/beatem_up/code_city_brawl.tscn",
@@ -18,9 +19,9 @@ const ROUTES := {
1819
const SMOKE_FLAG := "--smoke-routes"
1920
const SMOKE_FRAMES := 30
2021
## Booth mode (`<game> -- --booth`) is for unattended kiosks: the game runs fullscreen, the menu's
21-
## Quit does nothing, and after IDLE_SECONDS without input any route returns to the hub, whose
22-
## rotating previews are the attract screen. `--route=<name>` opens a route at launch, with or
23-
## without --booth. Both are off unless passed.
22+
## Quit does nothing, and after IDLE_SECONDS without input any route returns to the attract route
23+
## (the hub, whose rotating previews are the attract screen, unless --attract names another).
24+
## `--route=<name>` opens a route at launch, with or without --booth. Both are off unless passed.
2425
const BOOTH_FLAG := "--booth"
2526
const ROUTE_PREFIX := "--route="
2627
const IDLE_SECONDS := 90.0
@@ -35,13 +36,31 @@ const SESSION_LOG_DEFAULT := "user://booth"
3536
## time every two seconds, so tools/booth/watchdog.sh can restart a game that hangs. Off unless
3637
## passed; the watchdog passes it.
3738
const HEARTBEAT_PREFIX := "--heartbeat="
39+
## Booth game over: games call booth_game_over() when the player loses. A booth player gets
40+
## `--retries=<n>` retries (default 0); after that the router lays NextPlayerCard over the game
41+
## and, NEXT_PLAYER_SECONDS later, opens the attract route for the next player. `--attract=<name>`
42+
## picks the attract route for this and the idle return, from ATTRACT_ROUTES. Outside booth mode
43+
## games are unchanged.
44+
const ATTRACT_PREFIX := "--attract="
45+
## Menus that can wait for the next player: each starts its own music (the hub through
46+
## AudioService). Game routes would start playing by themselves, and the platformer menu would be
47+
## silent after a beat 'em up stops the shared music.
48+
const ATTRACT_ROUTES: Array[String] = ["hub", "beatem_up", "runner"]
49+
const RETRIES_PREFIX := "--retries="
50+
const NEXT_PLAYER_SECONDS := 6.0
3851
var busy := false
3952
var veil: ColorRect
4053
var booth := false
4154
var idle_limit := IDLE_SECONDS
4255
var idle_seconds := 0.0
4356
var session_log: BoothLog
4457
var heartbeat: BoothHeartbeat
58+
var attract := "hub"
59+
var retry_limit := 0
60+
## Game overs since the attract route last opened: one player's, as far as a booth can tell.
61+
var game_overs := 0
62+
var next_player: NextPlayerCard
63+
var next_player_left := 0.0
4564
func _ready() -> void:
4665
# The veil tween must keep running while a microgame has the tree paused.
4766
process_mode = Node.PROCESS_MODE_ALWAYS
@@ -57,7 +76,11 @@ func _ready() -> void:
5776
if SMOKE_FLAG in args:
5877
smoke_routes.call_deferred()
5978
return
79+
attract = attract_route(args)
80+
retry_limit = retry_count(args)
6081
set_booth(BOOTH_FLAG in args)
82+
if booth:
83+
print("AppRouter: booth attract route %s, %d retries per player" % [attract, retry_limit])
6184
var log_path := session_log_path(args, booth)
6285
if log_path != "":
6386
start_session_log(log_path)
@@ -86,6 +109,10 @@ func go(route: String, reason := "menu") -> void:
86109
get_tree().paused = false
87110
if session_log:
88111
session_log.route_changed(route, reason)
112+
if route == attract:
113+
game_overs = 0
114+
if next_player:
115+
next_player.hide()
89116
if route == "hub":
90117
AudioService.play_default_music()
91118
await create_tween().tween_property(veil, "modulate:a", 0.0, 0.25).finished
@@ -143,16 +170,67 @@ static func heartbeat_path(args: PackedStringArray) -> String:
143170
return arg.trim_prefix(HEARTBEAT_PREFIX)
144171
return ""
145172

173+
## The booth's attract route from `--attract=<name>`: "hub" when absent or not one of
174+
## ATTRACT_ROUTES (with a warning).
175+
static func attract_route(args: PackedStringArray) -> String:
176+
for arg in args:
177+
if arg.begins_with(ATTRACT_PREFIX):
178+
var route := arg.trim_prefix(ATTRACT_PREFIX)
179+
if route in ATTRACT_ROUTES:
180+
return route
181+
push_warning("--attract %s is not one of %s; the booth returns to the hub"
182+
% [route, ", ".join(ATTRACT_ROUTES)])
183+
return "hub"
184+
185+
## Retries a booth player gets, from `--retries=<n>`: 0 when absent or not a whole number.
186+
static func retry_count(args: PackedStringArray) -> int:
187+
for arg in args:
188+
if arg.begins_with(RETRIES_PREFIX):
189+
var value := arg.trim_prefix(RETRIES_PREFIX)
190+
if value.is_valid_int() and value.to_int() >= 0:
191+
return value.to_int()
192+
push_warning("--retries needs a whole number, not %s; using 0" % value)
193+
return 0
194+
195+
## Games call this when the player loses, before showing their own retry screen. Returns true when
196+
## the booth takes over: the player has used their retries, so the game shows nothing and the
197+
## router thanks them and sends the booth to the attract route. Always false outside booth mode,
198+
## and while a route change is already under way (it takes the player elsewhere anyway). The
199+
## session log counts every game over, booth or not.
200+
## `score_line` is shown on the card, in the game's own style ("SCORE 01234").
201+
func booth_game_over(score_line := "") -> bool:
202+
if session_log:
203+
session_log.count_game_over()
204+
if not booth or busy:
205+
return false
206+
game_overs += 1
207+
if game_overs <= retry_limit:
208+
return false
209+
if next_player == null:
210+
next_player = NextPlayerCard.new()
211+
add_child(next_player)
212+
move_child(next_player, 0) # Under the veil, so the route fade covers it.
213+
next_player_left = NEXT_PLAYER_SECONDS
214+
next_player.present(score_line, next_player_left)
215+
return true
216+
146217
func _launch(route: String) -> void:
147218
await go(route)
148219
var scene := get_tree().current_scene
149220
var path := scene.scene_file_path if scene else "no scene"
150221
print("AppRouter: launched route %s (%s)" % [route, path])
151222

152223
func set_booth(enabled: bool) -> void:
224+
# A card counting down over a paused, finished game would strand it: hand off right away.
225+
var finishing := not enabled and next_player != null and next_player.visible
153226
booth = enabled
154227
idle_seconds = 0.0
155228
AudioService.set_attract(enabled)
229+
game_overs = 0
230+
if finishing:
231+
go(attract, "game_over") # The route change hides the card.
232+
elif next_player:
233+
next_player.hide()
156234
set_process(enabled)
157235
set_process_input(enabled)
158236
if enabled:
@@ -166,13 +244,23 @@ func _input(event: InputEvent) -> void:
166244
idle_seconds = 0.0
167245

168246
func _process(delta: float) -> void:
247+
# The game-over card owns the screen until its countdown sends the booth to the attract route.
248+
if next_player and next_player.visible:
249+
next_player_left -= delta
250+
next_player.set_seconds(next_player_left)
251+
if next_player_left <= 0.0 and not busy:
252+
# The route change hides the card; if the attract scene fails to load, try again after
253+
# another countdown rather than every frame.
254+
next_player_left = NEXT_PLAYER_SECONDS
255+
go(attract, "game_over")
256+
return
169257
idle_seconds += delta
170258
if idle_seconds < idle_limit or busy:
171259
return
172260
idle_seconds = 0.0
173261
var scene := get_tree().current_scene
174-
if scene == null or scene.scene_file_path != ROUTES["hub"]:
175-
go("hub", "idle")
262+
if scene == null or scene.scene_file_path != ROUTES[attract]:
263+
go(attract, "idle")
176264

177265
func smoke_routes() -> void:
178266
# Let the launch scene finish its opening frames, as a player would, before switching.

‎hoppys-adventure-arcade/app/booth_log.gd‎

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,13 @@ extends RefCounted
99
## {"event":"start","launch":"2026-11-30T09:58:12.345","session":1,"game":"heroes_vs_villains",
1010
## "time":"2026-11-30T10:02:03"}
1111
## {"event":"end","launch":"2026-11-30T09:58:12.345","session":1,"game":"heroes_vs_villains",
12-
## "time":"2026-11-30T10:04:26","duration_s":143.2,"ended_by":"idle","retries":0}
12+
## "time":"2026-11-30T10:04:26","duration_s":143.2,"ended_by":"idle","retries":0,
13+
## "game_overs":1}
1314
## A session is one visit to a game route. Re-entering the same game (the runner's or a platformer
14-
## level's Retry) counts as a retry within it. `ended_by` is "menu" (the player left through the
15-
## game's own menu), "idle" (booth mode's idle return) or "quit". A start with no end means the game
15+
## level's Retry) counts as a retry within it. `game_overs` counts the session's losses, stage
16+
## retries that stay in the game included. `ended_by` is "menu" (the player left through the
17+
## game's own menu), "idle" (booth mode's idle return), "game_over" (booth mode sent a player who
18+
## had used their retries back to the attract route) or "quit". A start with no end means the game
1619
## stopped without quitting: a crash, a power cut or a forced kill.
1720
## tools/booth/sessions_report.py summarizes a folder of these files.
1821

@@ -28,6 +31,7 @@ var launch := ""
2831
var game := ""
2932
var session := 0
3033
var retries := 0
34+
var game_overs := 0
3135
var started_msec := 0
3236
## Set after the first failed write: the game keeps running, unlogged, rather than retrying.
3337
var failed := false
@@ -57,6 +61,7 @@ func route_changed(route: String, reason: String) -> void:
5761
game = route
5862
session += 1
5963
retries = 0
64+
game_overs = 0
6065
started_msec = Time.get_ticks_msec()
6166
_write({"event": "start", "session": session, "game": game,
6267
"time": Time.get_datetime_string_from_system()})
@@ -69,9 +74,14 @@ func end(reason: String) -> void:
6974
var seconds := (Time.get_ticks_msec() - started_msec) / 1000.0
7075
_write({"event": "end", "session": session, "game": game,
7176
"time": Time.get_datetime_string_from_system(), "duration_s": snappedf(seconds, 0.1),
72-
"ended_by": reason, "retries": retries})
77+
"ended_by": reason, "retries": retries, "game_overs": game_overs})
7378
game = ""
7479

80+
## AppRouter.booth_game_over() calls this for every loss in the session in progress.
81+
func count_game_over() -> void:
82+
if game != "":
83+
game_overs += 1
84+
7585
## Open, append and close per event, so a crash loses at most the line being written.
7686
func _write(fields: Dictionary) -> void:
7787
if failed:
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
extends Control
2+
## The booth's game-over card. AppRouter lays it over a finished game when the booth player has
3+
## used their retries: GAME OVER, the game's score line, a thank-you, and a countdown to the next
4+
## player. It takes no input; the router opens the attract route when the countdown ends.
5+
const Style = preload("res://scenes/main_menu/menu_style.gd")
6+
var summary: Label
7+
var countdown: Label
8+
9+
func _init() -> void:
10+
name = "NextPlayerCard"
11+
set_anchors_and_offsets_preset(Control.PRESET_FULL_RECT)
12+
# Stop clicks reaching the game underneath.
13+
mouse_filter = Control.MOUSE_FILTER_STOP
14+
theme = Style.theme()
15+
var dim := ColorRect.new()
16+
dim.color = Color(0.01, 0.02, 0.04, 0.84)
17+
dim.set_anchors_and_offsets_preset(Control.PRESET_FULL_RECT)
18+
dim.mouse_filter = Control.MOUSE_FILTER_IGNORE
19+
add_child(dim)
20+
var center := CenterContainer.new()
21+
center.set_anchors_and_offsets_preset(Control.PRESET_FULL_RECT)
22+
center.mouse_filter = Control.MOUSE_FILTER_IGNORE
23+
add_child(center)
24+
var column := VBoxContainer.new()
25+
column.add_theme_constant_override("separation", 16)
26+
center.add_child(column)
27+
var title := Style.label("GAME OVER", 48)
28+
summary = Style.label("", 24, Style.MINT)
29+
var thanks := Style.label("Thanks for playing!", 26)
30+
countdown = Style.label("", 18, Color("afbdc9"))
31+
for label in [title, summary, thanks, countdown]:
32+
label.horizontal_alignment = HORIZONTAL_ALIGNMENT_CENTER
33+
column.add_child(label)
34+
hide()
35+
36+
## Show the card with the game's score line ("" for none) and the seconds left.
37+
func present(score_line: String, seconds: float) -> void:
38+
summary.text = score_line
39+
summary.visible = score_line != ""
40+
set_seconds(seconds)
41+
show()
42+
43+
func set_seconds(seconds: float) -> void:
44+
countdown.text = "Next player in %d" % ceili(maxf(seconds, 0.0))
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
uid://c5a3iwsssrkab

‎hoppys-adventure-arcade/modes/beatem_up/game.gd‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -603,6 +603,7 @@ func game_over() -> void:
603603
playing = false
604604
state = "game_over"
605605
_update_hud()
606+
if AppRouter.booth_game_over("SCORE %05d" % score): return # Booth: the next player's turn.
606607
show_overlay("REVIEW FAILED", "Retry %s with 3 HP and fresh equipment." % Catalog.TITLES[stage_index],"Retry current stage",retry_stage)
607608

608609
func boss_defeated() -> void:

‎hoppys-adventure-arcade/modes/beatem_up/reinvent/game.gd‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -576,6 +576,7 @@ func game_over() -> void:
576576
playing = false
577577
state = "game_over"
578578
_update_hud()
579+
if AppRouter.booth_game_over("SCORE %05d" % score): return # Booth: the next player's turn.
579580
show_overlay("REVIEW FAILED", "Retry %s with 3 HP and fresh equipment." % Catalog.TITLES[stage_index],"Retry current stage",retry_stage)
580581

581582
func boss_defeated() -> void:

‎hoppys-adventure-arcade/modes/platformer/level.gd‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,7 @@ func _cancel_knockout() -> void:
297297

298298
## The cutaway holds its final pose behind the existing results fade.
299299
func _reveal_results(delay: float) -> void:
300+
if not won_run and AppRouter.booth_game_over("%06d POINTS" % score): return # Booth: next player.
300301
if not won_run: knockout.callout.hide()
301302
overlay.color = RESULTS_SHADE
302303
overlay.modulate.a = 0.0

0 commit comments

Comments
 (0)