Vitrine weicht einer startenden Welt

Ein Gast kann die Stilproben öffnen, während er sich verbindet. Kam die
Welt dann an, lag sie unter der Vitrine, und „Zurück" legte das Menü
über das laufende Spiel. Jetzt schließt die Hauptszene die Vitrine,
sobald eine Welt erscheint.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
Steven Wroblewski
2026-10-02 12:41:35 +02:00
parent 9f65823f2d
commit 714d604c58
2 changed files with 21 additions and 3 deletions
+12
View File
@@ -440,3 +440,15 @@ func test_the_style_samples_open_from_the_menu_and_lead_back_to_it() -> void:
check(main.menu.visible, "the menu is back")
check(not main.showcase.visible, "the samples are gone")
_clean_up([directory])
func test_a_world_that_starts_takes_the_place_of_the_style_samples() -> void:
var directory := TestFiles.temporary_dir("samples-world")
var main := _start_main(directory)
main.open_showcase()
check(main.showcase.visible, "the samples are open")
main.play(false)
check(not main.showcase.visible, "the world shows instead of the samples")
check_eq(main.showcase.process_mode, Node.PROCESS_MODE_DISABLED, "and the samples take no input")
check(not main.menu.visible, "the menu stays hidden")
_clean_up([directory])