diff options
author | bd <bdunahu@operationnull.com> | 2025-05-23 17:21:21 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-05-23 17:21:21 -0400 |
commit | 6d166db85ec2518b3219240f7cbf26221eec1f76 (patch) | |
tree | b37d47ff7e65cc9c3e4361f322c26e232c93b940 /scenes/ui_panel.tscn | |
parent | c278c21c5019b2e82651fec10b819c3b29b8ff7d (diff) |
Basic UI for tower display
Diffstat (limited to 'scenes/ui_panel.tscn')
-rw-r--r-- | scenes/ui_panel.tscn | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/scenes/ui_panel.tscn b/scenes/ui_panel.tscn new file mode 100644 index 0000000..e761516 --- /dev/null +++ b/scenes/ui_panel.tscn @@ -0,0 +1,34 @@ +[gd_scene load_steps=3 format=3 uid="uid://edgs77gubcl8"] + +[ext_resource type="Script" uid="uid://do8a8uq1jvs7b" path="res://scripts/ui_panel.gd" id="1_d2vu8"] + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_sv14y"] +bg_color = Color(0, 0.00526825, 0.379014, 1) + +[node name="UIPanel" type="Panel"] +custom_minimum_size = Vector2(16, 16) +offset_right = 24.0 +offset_bottom = 16.0 +size_flags_horizontal = 3 +theme_override_styles/panel = SubResource("StyleBoxFlat_sv14y") +script = ExtResource("1_d2vu8") + +[node name="HBoxContainer" type="HBoxContainer" parent="."] +layout_mode = 0 +offset_right = 16.0 +offset_bottom = 17.0 + +[node name="Texture" type="TextureRect" parent="HBoxContainer"] +layout_mode = 2 + +[node name="VBoxContainer" type="VBoxContainer" parent="HBoxContainer"] +layout_mode = 2 +theme_override_constants/separation = -3 + +[node name="Label" type="Label" parent="HBoxContainer/VBoxContainer"] +layout_mode = 2 +theme_override_font_sizes/font_size = 8 + +[node name="Label2" type="Label" parent="HBoxContainer/VBoxContainer"] +layout_mode = 2 +theme_override_font_sizes/font_size = 8 |