Open CCS Cases 2 in doctor scene

This commit is contained in:
hz
2026-08-05 18:53:00 -05:00
parent d76b2c809e
commit 31093ab80d
41 changed files with 3 additions and 1618 deletions
+2 -5
View File
@@ -28,12 +28,9 @@ func _run() -> void:
await process_frame
screen.on_show()
await process_frame
_assert(screen.current_view == "slot_machine", "CCS Cases 2 should open on the slot machine")
_assert(screen.active_scene != null and screen.active_scene.has_signal("continue_requested"), "slot machine should expose an embedded continue signal")
_assert(screen.current_view == "doctor_office", "CCS Cases 2 should open directly in the doctor office")
_assert(screen.active_scene != null, "CCS Cases 2 should instantiate the doctor-office scene")
_assert(is_equal_approx(screen.stage_root.scale.x, screen.stage_root.scale.y), "the graphical stage should preserve its aspect ratio")
screen.active_scene.continue_requested.emit()
await process_frame
_assert(screen.current_view == "doctor_office", "Continue should open the doctor office without replacing the app scene")
screen.on_hide()
await process_frame
_assert(screen.active_scene == null and screen.current_view.is_empty(), "hiding CCS Cases 2 should release the prototype scene")