- Preload stance icons at _ready() into cache Dictionary - Null-guard shader + theme loads with push_error() + early return - Guard _icon_mat.set_shader_parameter inside if _icon_mat: - Icon size 18→20px per D-086, container height 44→46px to fit - Add _apply_stance test coverage (known + unknown stance) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
18 lines
493 B
Plaintext
18 lines
493 B
Plaintext
[gd_scene load_steps=2 format=3]
|
|
|
|
[ext_resource type="Script" path="res://ui/gauntlet_hud.gd" id="1_gauntlet"]
|
|
|
|
; #496: Gauntlet HUD — room timer + personal bests, top-right below StanceIndicator (bottom at y:246), 8px gap
|
|
[node name="GauntletHUD" type="Control"]
|
|
layout_mode = 3
|
|
anchors_preset = 1
|
|
anchor_left = 1.0
|
|
anchor_right = 1.0
|
|
offset_left = -160.0
|
|
offset_top = 254.0
|
|
offset_right = -16.0
|
|
offset_bottom = 280.0
|
|
grow_horizontal = 0
|
|
mouse_filter = 2
|
|
script = ExtResource("1_gauntlet")
|