Three-scope z-layer rendering pipeline (D-049): world z:0-900 inside CanvasGroup, insert overlay CanvasLayer 10, UI CanvasLayer 20, modal CanvasLayer 30. Y-sort contract enforced (entities z_index=0). Reserved ranges for VFX, airborne, lower floors documented in constants.gd. Sprint 6 client tickets: - #429: Cursor state machine — 4 states, 150ms transitions (D-056) - #430: Fog shader rebuild — 5-layer fragment shader, animated noise (D-059) - #432: Entity interaction list — vertical multi-verb, insert-styled (D-057) - #433: World radial menu — 2 spokes, drag-release + click-click (D-058) - #438: Inventory UI — 3x3 grid, 40x40px, 1-9 hotkeys (D-065) - #439: Stance indicator — color-coded HUD, C/X keybinds (D-053) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
18 lines
434 B
Plaintext
18 lines
434 B
Plaintext
[gd_scene load_steps=2 format=3]
|
|
|
|
[ext_resource type="Script" path="res://ui/stance_indicator.gd" id="1_stance"]
|
|
|
|
; D-053: Stance indicator — top-right HUD element
|
|
[node name="StanceIndicator" type="Control"]
|
|
layout_mode = 3
|
|
anchors_preset = 1
|
|
anchor_left = 1.0
|
|
anchor_right = 1.0
|
|
offset_left = -100.0
|
|
offset_top = 16.0
|
|
offset_right = -16.0
|
|
offset_bottom = 42.0
|
|
grow_horizontal = 0
|
|
mouse_filter = 2
|
|
script = ExtResource("1_stance")
|