extends Node ## Short recording of menu idle, transitions, Bund switch and the start into play. ## Run: godot --path . --resolution 1280x720 --fixed-fps 30 --write-movie /reel.png res://tools/menu_reel.tscn var main: Node3D func _ready() -> void: call_deferred("run") func wait(seconds: float) -> void: await get_tree().create_timer(seconds).timeout func run() -> void: Soundscape.enabled = false WaveManager.set_physics_process(false) GameState.factions = ["wurzelbund", "glutpakt"] main = preload("res://scenes/main.tscn").instantiate() add_child(main) var menu: MainMenu = main.hud.main_menu while not (menu.stage.is_ready("glutpakt") and menu.stage.is_ready("wurzelbund")): await get_tree().process_frame await wait(3.0) menu.new_game_button.pressed.emit() await wait(2.4) menu.faction_choice.cards[0].pressed.emit() await wait(2.6) menu._toggle_advanced() await wait(1.2) menu._toggle_advanced() menu.faction_choice.cards[1].pressed.emit() await wait(2.4) menu.show_screen(MainMenu.Screen.TITLE) await wait(2.2) menu.new_game_button.pressed.emit() await wait(1.6) menu.start_button.pressed.emit() await wait(1.4) print("MENU_REEL_DONE") get_tree().quit()