diff options
author | bd <bdunahu@operationnull.com> | 2025-05-22 13:50:49 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-05-22 13:50:49 -0400 |
commit | 8c5c4863aeacb4afcf70f339df6d601e2df1a7a6 (patch) | |
tree | 6c2af54a18271534864a7a1daed7814ebac5abd1 /scenes/ui.tscn | |
parent | 80e145ba2b85e08f895e76ba6a03bb67bc9ce9ea (diff) |
Reorganized files into scenes and scripts
Diffstat (limited to 'scenes/ui.tscn')
-rw-r--r-- | scenes/ui.tscn | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/scenes/ui.tscn b/scenes/ui.tscn new file mode 100644 index 0000000..bd8f3ff --- /dev/null +++ b/scenes/ui.tscn @@ -0,0 +1,39 @@ +[gd_scene load_steps=4 format=3 uid="uid://dycgp3yept14k"] + +[ext_resource type="Script" uid="uid://dtj2opmwvh4y1" path="res://scripts/life.gd" id="1_suays"] +[ext_resource type="Script" uid="uid://b8urrbmynk327" path="res://scripts/morale.gd" id="1_yb1mt"] + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_nt14h"] +bg_color = Color(0, 0.0117647, 0.552941, 1) + +[node name="PanelContainer" type="PanelContainer"] +anchors_preset = 10 +anchor_right = 1.0 +offset_bottom = 17.0 +grow_horizontal = 2 +size_flags_vertical = 0 +theme_override_styles/panel = SubResource("StyleBoxFlat_nt14h") + +[node name="MarginContainer" type="MarginContainer" parent="."] +layout_mode = 2 +theme_override_constants/margin_left = 6 +theme_override_constants/margin_top = 0 + +[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer"] +layout_mode = 2 + +[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/HBoxContainer"] +layout_mode = 2 +theme_override_constants/separation = -3 + +[node name="Morale" type="Label" parent="MarginContainer/HBoxContainer/VBoxContainer"] +layout_mode = 2 +theme_override_font_sizes/font_size = 8 +text = "Morale: 10" +script = ExtResource("1_yb1mt") + +[node name="Life" type="Label" parent="MarginContainer/HBoxContainer/VBoxContainer"] +layout_mode = 2 +theme_override_font_sizes/font_size = 8 +text = "Life: 20" +script = ExtResource("1_suays") |