summaryrefslogtreecommitdiff
path: root/ui/hud.tscn
diff options
context:
space:
mode:
Diffstat (limited to 'ui/hud.tscn')
-rw-r--r--ui/hud.tscn34
1 files changed, 34 insertions, 0 deletions
diff --git a/ui/hud.tscn b/ui/hud.tscn
new file mode 100644
index 0000000..340d7a2
--- /dev/null
+++ b/ui/hud.tscn
@@ -0,0 +1,34 @@
+[gd_scene load_steps=3 format=3 uid="uid://ciyxysx3rwjhf"]
+
+[ext_resource type="Script" path="res://ui/hud.gd" id="1_c8cqk"]
+[ext_resource type="Theme" uid="uid://b067xhqktnmhr" path="res://ui/theme.tres" id="1_it884"]
+
+[node name="HUD" type="CanvasLayer" groups=["hud"]]
+script = ExtResource("1_c8cqk")
+
+[node name="MarginContainer" type="MarginContainer" parent="."]
+custom_minimum_size = Vector2(0, 16)
+offset_right = 43.0
+offset_bottom = 10.0
+theme_override_constants/margin_left = 2
+theme_override_constants/margin_top = 2
+theme_override_constants/margin_right = 2
+theme_override_constants/margin_bottom = 2
+
+[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer"]
+layout_mode = 2
+size_flags_horizontal = 0
+size_flags_vertical = 0
+
+[node name="Label" type="Label" parent="MarginContainer/HBoxContainer"]
+texture_filter = 1
+layout_mode = 2
+theme = ExtResource("1_it884")
+text = "Score:"
+
+[node name="Score" type="Label" parent="MarginContainer/HBoxContainer"]
+unique_name_in_owner = true
+texture_filter = 1
+layout_mode = 2
+theme = ExtResource("1_it884")
+text = "0"