Unveränderter Ausgangsstand inklusive Masterprompt und Konzeptbildern unter assets/. .godot/ und docs/screenshots/ bleiben laut .gitignore unversioniert; letztere sind unter ../backups gesichert. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
22 lines
771 B
GDScript
22 lines
771 B
GDScript
extends Node
|
|
## Capture the redesigned title menu and in-game HUD.
|
|
var main: Node3D
|
|
var captures := "res://docs/screenshots/phase13"
|
|
func _ready() -> void:
|
|
call_deferred("run")
|
|
func shot(name: String) -> void:
|
|
for n: int in range(10): await get_tree().process_frame
|
|
await RenderingServer.frame_post_draw
|
|
get_viewport().get_texture().get_image().save_png(captures + "/" + name + ".png")
|
|
func run() -> void:
|
|
get_window().size = Vector2i(1920, 1080)
|
|
Soundscape.enabled = false
|
|
WaveManager.set_physics_process(false)
|
|
main = preload("res://scenes/main.tscn").instantiate()
|
|
add_child(main)
|
|
await shot("menu")
|
|
main.hud._overlay_action.pressed.emit()
|
|
main.hud._starter_button.pressed.emit()
|
|
await shot("build")
|
|
print("UI_REVIEW_PASS")
|
|
await Soundscape.quit_game()
|