Add debug foundation

This commit is contained in:
2026-04-21 21:16:30 +02:00
parent 693f31dd50
commit cc51f4a6e8
22 changed files with 1246 additions and 12 deletions

View File

@@ -0,0 +1,63 @@
[gd_scene load_steps=3 format=3 uid="uid://c6qvx8j8iodlo"]
[ext_resource type="Script" path="res://scripts/debug/DebugSandboxController.cs" id="1_debug_sandbox"]
[ext_resource type="Script" path="res://scripts/debug/DebugPanelController.cs" id="2_debug_panel"]
[node name="DebugSandbox" type="Control"]
process_mode = 3
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_debug_sandbox")
[node name="Main" type="HBoxContainer" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 16.0
offset_top = 16.0
offset_right = -16.0
offset_bottom = -16.0
grow_horizontal = 2
grow_vertical = 2
[node name="DebugPanel" type="PanelContainer" parent="Main"]
process_mode = 3
layout_mode = 2
custom_minimum_size = Vector2(200, 0)
script = ExtResource("2_debug_panel")
[node name="Playfield" type="PanelContainer" parent="Main"]
layout_mode = 2
size_flags_horizontal = 3
[node name="PlayfieldContent" type="VBoxContainer" parent="Main/Playfield"]
layout_mode = 2
[node name="Title" type="Label" parent="Main/Playfield/PlayfieldContent"]
layout_mode = 2
text = "Debug Sandbox"
[node name="StateLabel" type="Label" parent="Main/Playfield/PlayfieldContent"]
layout_mode = 2
text = "State"
[node name="MarkerLabel" type="Label" parent="Main/Playfield/PlayfieldContent"]
layout_mode = 2
text = "Marker: none"
[node name="SpawnedActors" type="VBoxContainer" parent="Main/Playfield/PlayfieldContent"]
layout_mode = 2
size_flags_vertical = 3
[node name="LogScroll" type="ScrollContainer" parent="Main"]
layout_mode = 2
custom_minimum_size = Vector2(360, 0)
[node name="LogLabel" type="Label" parent="Main/LogScroll"]
layout_mode = 2
text = ""