From 62e90b444315245ef24606fa51d3fccba5f18e08 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Sat, 28 Sep 2024 15:29:16 +0200 Subject: initial commit --- UI/hud.tscn | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 UI/hud.tscn (limited to 'UI/hud.tscn') diff --git a/UI/hud.tscn b/UI/hud.tscn new file mode 100644 index 0000000..e02d9dd --- /dev/null +++ b/UI/hud.tscn @@ -0,0 +1,21 @@ +[gd_scene load_steps=2 format=3 uid="uid://cuemoig58el4f"] + +[ext_resource type="Script" path="res://UI/hud.gd" id="1_ip2w4"] + +[node name="HUD" type="CanvasLayer"] +script = ExtResource("1_ip2w4") + +[node name="MarginContainer" type="MarginContainer" parent="."] +offset_right = 40.0 +offset_bottom = 40.0 +theme_override_constants/margin_left = 8 +theme_override_constants/margin_top = 8 +theme_override_constants/margin_right = 8 +theme_override_constants/margin_bottom = 8 + +[node name="Score" type="Label" parent="MarginContainer"] +unique_name_in_owner = true +layout_mode = 2 +size_flags_horizontal = 0 +size_flags_vertical = 0 +text = "0" -- cgit v1.2.3