summaryrefslogtreecommitdiff
path: root/UI
diff options
context:
space:
mode:
Diffstat (limited to 'UI')
-rw-r--r--UI/Assets/sheet-elements.pngbin0 -> 778 bytes
-rw-r--r--UI/Assets/sheet-elements.png.import34
-rw-r--r--UI/Assets/sheet-elements.png~bin0 -> 769 bytes
-rw-r--r--UI/HUD.tscn132
-rw-r--r--UI/hud.gd1
5 files changed, 167 insertions, 0 deletions
diff --git a/UI/Assets/sheet-elements.png b/UI/Assets/sheet-elements.png
new file mode 100644
index 0000000..09ac98b
--- /dev/null
+++ b/UI/Assets/sheet-elements.png
Binary files differ
diff --git a/UI/Assets/sheet-elements.png.import b/UI/Assets/sheet-elements.png.import
new file mode 100644
index 0000000..cd3b48b
--- /dev/null
+++ b/UI/Assets/sheet-elements.png.import
@@ -0,0 +1,34 @@
+[remap]
+
+importer="texture"
+type="CompressedTexture2D"
+uid="uid://bsv1clh82d0j1"
+path="res://.godot/imported/sheet-elements.png-6593fe64b9ba374e89bb60ca3224e5f8.ctex"
+metadata={
+"vram_texture": false
+}
+
+[deps]
+
+source_file="res://UI/Assets/sheet-elements.png"
+dest_files=["res://.godot/imported/sheet-elements.png-6593fe64b9ba374e89bb60ca3224e5f8.ctex"]
+
+[params]
+
+compress/mode=0
+compress/high_quality=false
+compress/lossy_quality=0.7
+compress/hdr_compression=1
+compress/normal_map=0
+compress/channel_pack=0
+mipmaps/generate=false
+mipmaps/limit=-1
+roughness/mode=0
+roughness/src_normal=""
+process/fix_alpha_border=true
+process/premult_alpha=false
+process/normal_map_invert_y=false
+process/hdr_as_srgb=false
+process/hdr_clamp_exposure=false
+process/size_limit=0
+detect_3d/compress_to=1
diff --git a/UI/Assets/sheet-elements.png~ b/UI/Assets/sheet-elements.png~
new file mode 100644
index 0000000..3fa8f7c
--- /dev/null
+++ b/UI/Assets/sheet-elements.png~
Binary files differ
diff --git a/UI/HUD.tscn b/UI/HUD.tscn
new file mode 100644
index 0000000..777d595
--- /dev/null
+++ b/UI/HUD.tscn
@@ -0,0 +1,132 @@
+[gd_scene load_steps=10 format=3 uid="uid://b0m35odd47p2q"]
+
+[ext_resource type="Script" path="res://UI/hud.gd" id="1_l601h"]
+[ext_resource type="Texture2D" uid="uid://bsv1clh82d0j1" path="res://UI/Assets/sheet-elements.png" id="2_uorai"]
+
+[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_nrmov"]
+bg_color = Color(1, 1, 1, 1)
+
+[sub_resource type="AtlasTexture" id="AtlasTexture_4x175"]
+atlas = ExtResource("2_uorai")
+region = Rect2(54.8741, 7.88787, 8.18251, 8.25186)
+
+[sub_resource type="AtlasTexture" id="AtlasTexture_v31j0"]
+atlas = ExtResource("2_uorai")
+region = Rect2(0.975571, 7.92236, 5.08764, 8.05789)
+
+[sub_resource type="AtlasTexture" id="AtlasTexture_uuxbm"]
+atlas = ExtResource("2_uorai")
+region = Rect2(-0.00627375, -0.0483545, 6.04208, 7.05801)
+
+[sub_resource type="AtlasTexture" id="AtlasTexture_b74n7"]
+atlas = ExtResource("2_uorai")
+region = Rect2(62.9873, 7.79153, 7.14236, 8.18251)
+
+[sub_resource type="AtlasTexture" id="AtlasTexture_fo035"]
+atlas = ExtResource("2_uorai")
+region = Rect2(14.9748, 7.85313, 8.04382, 8.18251)
+
+[sub_resource type="AtlasTexture" id="AtlasTexture_lksoh"]
+atlas = ExtResource("2_uorai")
+region = Rect2(8.04546, 8.17253, 7.00368, 8.07742)
+
+[node name="HUD" type="CanvasLayer"]
+script = ExtResource("1_l601h")
+
+[node name="PanelContainer" type="PanelContainer" parent="."]
+custom_minimum_size = Vector2(0, 8)
+anchors_preset = 12
+anchor_top = 1.0
+anchor_right = 1.0
+anchor_bottom = 1.0
+offset_top = -8.0
+grow_horizontal = 2
+grow_vertical = 0
+theme_override_styles/panel = SubResource("StyleBoxFlat_nrmov")
+
+[node name="MarginContainer" type="MarginContainer" parent="PanelContainer"]
+layout_mode = 2
+theme_override_constants/margin_left = 8
+
+[node name="HBoxContainer" type="HBoxContainer" parent="PanelContainer/MarginContainer"]
+layout_mode = 2
+
+[node name="HBoxContainer" type="HBoxContainer" parent="PanelContainer/MarginContainer/HBoxContainer"]
+layout_mode = 2
+size_flags_horizontal = 3
+theme_override_constants/separation = 1
+
+[node name="TextureRect" type="TextureRect" parent="PanelContainer/MarginContainer/HBoxContainer/HBoxContainer"]
+texture_filter = 1
+layout_mode = 2
+texture = SubResource("AtlasTexture_4x175")
+stretch_mode = 4
+
+[node name="-" type="TextureRect" parent="PanelContainer/MarginContainer/HBoxContainer/HBoxContainer"]
+texture_filter = 1
+layout_mode = 2
+texture = SubResource("AtlasTexture_v31j0")
+stretch_mode = 4
+
+[node name="0" type="TextureRect" parent="PanelContainer/MarginContainer/HBoxContainer/HBoxContainer"]
+texture_filter = 1
+layout_mode = 2
+texture = SubResource("AtlasTexture_uuxbm")
+stretch_mode = 4
+
+[node name="HBoxContainer2" type="HBoxContainer" parent="PanelContainer/MarginContainer/HBoxContainer"]
+layout_mode = 2
+size_flags_horizontal = 3
+theme_override_constants/separation = 1
+
+[node name="TextureRect2" type="TextureRect" parent="PanelContainer/MarginContainer/HBoxContainer/HBoxContainer2"]
+texture_filter = 1
+layout_mode = 2
+texture = SubResource("AtlasTexture_b74n7")
+stretch_mode = 4
+
+[node name="-" type="TextureRect" parent="PanelContainer/MarginContainer/HBoxContainer/HBoxContainer2"]
+texture_filter = 1
+layout_mode = 2
+texture = SubResource("AtlasTexture_v31j0")
+stretch_mode = 4
+
+[node name="0" type="TextureRect" parent="PanelContainer/MarginContainer/HBoxContainer/HBoxContainer2"]
+texture_filter = 1
+layout_mode = 2
+texture = SubResource("AtlasTexture_uuxbm")
+stretch_mode = 4
+
+[node name="HBoxContainer3" type="HBoxContainer" parent="PanelContainer/MarginContainer/HBoxContainer"]
+layout_mode = 2
+size_flags_horizontal = 3
+theme_override_constants/separation = 1
+
+[node name="TextureRect3" type="TextureRect" parent="PanelContainer/MarginContainer/HBoxContainer/HBoxContainer3"]
+texture_filter = 1
+layout_mode = 2
+texture = SubResource("AtlasTexture_fo035")
+stretch_mode = 4
+
+[node name="0" type="TextureRect" parent="PanelContainer/MarginContainer/HBoxContainer/HBoxContainer3"]
+texture_filter = 1
+layout_mode = 2
+texture = SubResource("AtlasTexture_uuxbm")
+stretch_mode = 4
+
+[node name="HBoxContainer4" type="HBoxContainer" parent="PanelContainer/MarginContainer/HBoxContainer"]
+layout_mode = 2
+size_flags_horizontal = 3
+theme_override_constants/separation = 1
+
+[node name="TextureRect4" type="TextureRect" parent="PanelContainer/MarginContainer/HBoxContainer/HBoxContainer4"]
+texture_filter = 1
+layout_mode = 2
+texture = SubResource("AtlasTexture_lksoh")
+stretch_mode = 4
+
+[node name="0" type="TextureRect" parent="PanelContainer/MarginContainer/HBoxContainer/HBoxContainer4"]
+texture_filter = 1
+layout_mode = 2
+texture = SubResource("AtlasTexture_uuxbm")
+stretch_mode = 4
diff --git a/UI/hud.gd b/UI/hud.gd
new file mode 100644
index 0000000..53faa5e
--- /dev/null
+++ b/UI/hud.gd
@@ -0,0 +1 @@
+extends CanvasLayer