190 lines
4.8 KiB
Plaintext
Raw Normal View History

2023-10-09 19:29:17 -07:00
[gd_scene load_steps=10 format=3 uid="uid://vaapoj5q16ko"]
[ext_resource type="Script" path="res://data/character/hud.gd" id="1_4ewah"]
[ext_resource type="Texture2D" uid="uid://ttb1b3k07qu5" path="res://textures/world/boulder.svg" id="2_d7rj8"]
[ext_resource type="Texture2D" uid="uid://i7fjjduk8b0c" path="res://textures/world/biome/forest/tree.svg" id="3_uwqry"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_tb4rh"]
bg_color = Color(0, 0, 0, 0.392157)
corner_radius_top_left = 4
corner_radius_top_right = 4
corner_radius_bottom_right = 4
corner_radius_bottom_left = 4
[sub_resource type="Theme" id="Theme_h3iw6"]
Panel/styles/panel = SubResource("StyleBoxFlat_tb4rh")
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_5s1x0"]
bg_color = Color(0.184314, 0.184314, 0.184314, 1)
corner_radius_top_left = 10
corner_radius_top_right = 10
corner_radius_bottom_right = 10
corner_radius_bottom_left = 10
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_csph4"]
bg_color = Color(1, 0, 0, 1)
corner_radius_top_left = 10
corner_radius_top_right = 10
corner_radius_bottom_right = 10
corner_radius_bottom_left = 10
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_31scb"]
bg_color = Color(0, 1, 0, 1)
corner_radius_top_left = 10
corner_radius_top_right = 10
corner_radius_bottom_right = 10
corner_radius_bottom_left = 10
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_1p646"]
bg_color = Color(0, 0.698039, 1, 1)
corner_radius_top_left = 10
corner_radius_top_right = 10
corner_radius_bottom_right = 10
corner_radius_bottom_left = 10
[node name="hud" type="Control"]
z_index = 10
layout_mode = 3
anchors_preset = 0
offset_left = -512.0
offset_top = -256.0
offset_right = 512.0
offset_bottom = 256.0
theme = SubResource("Theme_h3iw6")
script = ExtResource("1_4ewah")
[node name="bars" type="Panel" parent="."]
layout_mode = 1
offset_right = 368.0
2023-11-04 10:24:39 -07:00
offset_bottom = 48.0
2023-10-09 19:29:17 -07:00
[node name="health" type="ProgressBar" parent="bars"]
layout_mode = 0
offset_left = 8.0
offset_top = 8.0
offset_right = 360.0
offset_bottom = 16.0
theme_override_styles/background = SubResource("StyleBoxFlat_5s1x0")
theme_override_styles/fill = SubResource("StyleBoxFlat_csph4")
value = 100.0
show_percentage = false
[node name="stamina" type="ProgressBar" parent="bars"]
layout_mode = 0
offset_left = 8.0
2023-11-04 10:24:39 -07:00
offset_top = 32.0
2023-10-09 19:29:17 -07:00
offset_right = 360.0
2023-11-04 10:24:39 -07:00
offset_bottom = 40.0
2023-10-09 19:29:17 -07:00
theme_override_styles/background = SubResource("StyleBoxFlat_5s1x0")
theme_override_styles/fill = SubResource("StyleBoxFlat_31scb")
value = 100.0
show_percentage = false
[node name="name" type="Panel" parent="."]
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -104.0
offset_bottom = 32.0
grow_horizontal = 0
[node name="username" type="Label" parent="name"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
text = "Username"
horizontal_alignment = 1
vertical_alignment = 1
[node name="inventory" type="Panel" parent="."]
layout_mode = 1
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -96.0
offset_top = -88.0
grow_horizontal = 0
grow_vertical = 0
[node name="stone_image" type="Sprite2D" parent="inventory"]
position = Vector2(24, 24)
scale = Vector2(0.0457143, 0.0457143)
texture = ExtResource("2_d7rj8")
[node name="stone_label" type="Label" parent="inventory"]
layout_mode = 0
offset_left = 48.0
offset_top = 8.0
offset_right = 88.0
offset_bottom = 40.0
text = "0"
horizontal_alignment = 2
vertical_alignment = 1
clip_text = true
[node name="wood_image" type="Sprite2D" parent="inventory"]
position = Vector2(24, 64)
scale = Vector2(0.0457143, 0.0457143)
texture = ExtResource("3_uwqry")
[node name="wood_label" type="Label" parent="inventory"]
layout_mode = 0
offset_left = 48.0
offset_top = 48.0
offset_right = 88.0
offset_bottom = 80.0
text = "0"
horizontal_alignment = 2
vertical_alignment = 1
clip_text = true
[node name="level" type="Panel" parent="."]
layout_mode = 1
anchors_preset = 7
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = -192.0
offset_top = -80.0
offset_right = 192.0
grow_horizontal = 2
grow_vertical = 0
[node name="level" type="Label" parent="level"]
layout_mode = 0
offset_left = 8.0
offset_right = 376.0
offset_bottom = 26.0
text = "Level 0"
horizontal_alignment = 1
2023-11-04 10:24:39 -07:00
vertical_alignment = 1
2023-10-09 19:29:17 -07:00
clip_text = true
[node name="level_bar" type="ProgressBar" parent="level"]
layout_mode = 0
offset_left = 16.0
offset_top = 32.0
offset_right = 368.0
offset_bottom = 40.0
theme_override_styles/background = SubResource("StyleBoxFlat_5s1x0")
theme_override_styles/fill = SubResource("StyleBoxFlat_1p646")
show_percentage = false
[node name="points" type="Label" parent="level"]
layout_mode = 0
offset_left = 8.0
offset_top = 48.0
offset_right = 376.0
offset_bottom = 74.0
text = "0/100"
horizontal_alignment = 1
2023-11-04 10:24:39 -07:00
vertical_alignment = 1
2023-10-09 19:29:17 -07:00
clip_text = true