Files
voider/Scenes/UI/DebugHUD.tscn

66 lines
1.7 KiB
Plaintext

[gd_scene load_steps=2 format=3 uid="uid://cx3oppvfp20t"]
[ext_resource type="Script" path="res://Scripts/UI/DebugHUD.cs" id="1_script"]
[node name="DebugHUD" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_script")
[node name="StatsPanel" type="PanelContainer" parent="."]
layout_mode = 1
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
offset_left = 5.0
offset_top = -125.0
offset_right = 205.0
offset_bottom = -5.0
grow_vertical = 0
[node name="VBoxContainerLabels" type="VBoxContainer" parent="StatsPanel"]
layout_mode = 2
size_flags_horizontal = 0
alignment = 1
[node name="SpeedLabel" type="Label" parent="StatsPanel/VBoxContainerLabels"]
layout_mode = 2
text = " Speed:"
[node name="StateLabel" type="Label" parent="StatsPanel/VBoxContainerLabels"]
layout_mode = 2
text = " State:"
[node name="PositionLabel" type="Label" parent="StatsPanel/VBoxContainerLabels"]
layout_mode = 2
text = " Position:"
[node name="VelocityLabel" type="Label" parent="StatsPanel/VBoxContainerLabels"]
layout_mode = 2
text = " Velocity:"
[node name="VBoxContainerValues" type="VBoxContainer" parent="StatsPanel"]
layout_mode = 2
size_flags_horizontal = 8
alignment = 1
[node name="SpeedVal" type="Label" parent="StatsPanel/VBoxContainerValues"]
layout_mode = 2
text = "0.0 u/s"
[node name="StateVal" type="Label" parent="StatsPanel/VBoxContainerValues"]
layout_mode = 2
text = "Idle"
[node name="PositionVal" type="Label" parent="StatsPanel/VBoxContainerValues"]
layout_mode = 2
text = "(0, 0, 0)"
[node name="VelocityVal" type="Label" parent="StatsPanel/VBoxContainerValues"]
layout_mode = 2
text = "(0, 0, 0)"