2026-08-11 16:04:40 +02:00
|
|
|
extends Node2D
|
|
|
|
|
|
2026-08-14 11:54:31 +02:00
|
|
|
# Preview, not a test. Both banked resources and both fleet-held resources
|
|
|
|
|
# are populated so the complete two-column HUD can be inspected.
|
2026-08-11 16:04:40 +02:00
|
|
|
#
|
|
|
|
|
# bash tests/screenshot.sh res://tests/_cargo_readout_preview.tscn /tmp/hud.png 20 720x1280
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
func _ready() -> void:
|
|
|
|
|
GameState.buildings.clear()
|
|
|
|
|
GameState.extractors.clear()
|
|
|
|
|
GameState.rocks = 128
|
2026-08-14 11:54:31 +02:00
|
|
|
GameState.gas = 46
|
2026-08-11 16:04:40 +02:00
|
|
|
GameState.fleet_cargo = 34
|
2026-08-14 11:54:31 +02:00
|
|
|
GameState.fleet_gas_cargo = 17
|
2026-08-11 16:04:40 +02:00
|
|
|
add_child(load("res://Main.tscn").instantiate())
|