Add debuging like UI info output; WIP implimintation for steering

This commit is contained in:
2026-10-31 01:39:21 -05:00
parent 1c54dfff0b
commit 90290551f9
3 changed files with 121 additions and 4 deletions
+67 -1
View File
@@ -1,8 +1,11 @@
[gd_scene load_steps=3 format=3 uid="uid://d0esuq6urlrjh"]
[gd_scene load_steps=4 format=3 uid="uid://d0esuq6urlrjh"]
[ext_resource type="Script" uid="uid://dccwod1q2mvey" path="res://scenes/ui/base_ui.gd" id="1_mlarl"]
[ext_resource type="PackedScene" uid="uid://be2rcw7fje32a" path="res://scenes/ui/ui_viewport.tscn" id="2_nn855"]
[sub_resource type="LabelSettings" id="LabelSettings_nn855"]
font_color = Color(0.38212836, 0.95692664, 0.523243, 1)
[node name="base_ui" type="Control"]
layout_mode = 3
anchors_preset = 0
@@ -10,3 +13,66 @@ script = ExtResource("1_mlarl")
[node name="ui_viewport" parent="." instance=ExtResource("2_nn855")]
layout_mode = 0
offset_right = 512.0
offset_bottom = 512.0
metadata/_edit_lock_ = true
[node name="target_label" type="Label" parent="."]
layout_mode = 0
offset_right = 40.0
offset_bottom = 23.0
text = "Target: "
metadata/_edit_lock_ = true
[node name="target_z_label" type="Label" parent="."]
layout_mode = 0
offset_left = 63.0
offset_top = 2.0
offset_right = 79.0
offset_bottom = 25.0
text = "Z"
metadata/_edit_lock_ = true
[node name="target_z" type="Label" parent="."]
layout_mode = 0
offset_left = 79.0
offset_top = 2.0
offset_right = 119.0
offset_bottom = 25.0
metadata/_edit_lock_ = true
[node name="target_x_label" type="Label" parent="."]
layout_mode = 0
offset_left = 62.0
offset_top = 31.0
offset_right = 83.0
offset_bottom = 80.0
text = "X
"
metadata/_edit_lock_ = true
[node name="target_x" type="Label" parent="."]
layout_mode = 0
offset_left = 79.0
offset_top = 31.0
offset_right = 119.0
offset_bottom = 54.0
metadata/_edit_lock_ = true
[node name="target_position_ab" type="Label" parent="."]
layout_mode = 0
offset_left = 67.0
offset_top = 59.0
offset_right = 107.0
offset_bottom = 82.0
label_settings = SubResource("LabelSettings_nn855")
metadata/_edit_lock_ = true
[node name="target_position_fb" type="Label" parent="."]
layout_mode = 0
offset_left = 65.0
offset_top = 83.0
offset_right = 105.0
offset_bottom = 106.0
label_settings = SubResource("LabelSettings_nn855")
metadata/_edit_lock_ = true
-1
View File
@@ -8,7 +8,6 @@ offset_bottom = 40.0
script = ExtResource("1_2a424")
[node name="sub_viewport" type="SubViewport" parent="."]
transparent_bg = true
handle_input_locally = false
render_target_update_mode = 4