167 lines
5.8 KiB
Plaintext
167 lines
5.8 KiB
Plaintext
[gd_scene load_steps=8 format=3 uid="uid://dxl8il8f13c2x"]
|
|
|
|
[ext_resource type="Script" uid="uid://b65cbirtijlii" path="res://src/ui/player_ui/PlayerInfoUI.cs" id="1_d8yyu"]
|
|
[ext_resource type="LabelSettings" uid="uid://cvjhqu13opvjq" path="res://src/ui/label_settings/PlayerUIStatName.tres" id="2_hkw8m"]
|
|
[ext_resource type="LabelSettings" uid="uid://dupifadnagodp" path="res://src/ui/label_settings/MainTextRegular.tres" id="3_xdjh1"]
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_bqtin"]
|
|
bg_color = Color(0.00392157, 0.341176, 0.141176, 1)
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_hkw8m"]
|
|
bg_color = Color(0.207843, 1, 0.52549, 1)
|
|
border_width_left = 2
|
|
border_width_top = 2
|
|
border_width_right = 2
|
|
border_width_bottom = 2
|
|
border_color = Color(0.00392157, 0.341176, 0.141176, 1)
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_nv5jb"]
|
|
bg_color = Color(0.0980392, 0.129412, 0.270588, 1)
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_gio7f"]
|
|
bg_color = Color(0.223529, 0.368627, 0.996078, 1)
|
|
border_width_left = 2
|
|
border_width_top = 2
|
|
border_width_right = 2
|
|
border_width_bottom = 2
|
|
border_color = Color(0.0980392, 0.129412, 0.270588, 1)
|
|
|
|
[node name="PlayerInfoUI" type="Control"]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_top = 1.0
|
|
offset_right = -1533.0
|
|
offset_bottom = -949.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
script = ExtResource("1_d8yyu")
|
|
|
|
[node name="AspectRatio" type="AspectRatioContainer" parent="."]
|
|
layout_mode = 1
|
|
offset_right = 266.0
|
|
offset_bottom = 177.0
|
|
|
|
[node name="PlayerInfo" type="VBoxContainer" parent="AspectRatio"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="AspectRatio/PlayerInfo"]
|
|
layout_mode = 2
|
|
|
|
[node name="CenterContainer" type="CenterContainer" parent="AspectRatio/PlayerInfo/HBoxContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="VBox" type="VBoxContainer" parent="AspectRatio/PlayerInfo/HBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
size_flags_vertical = 4
|
|
theme_override_constants/separation = -15
|
|
|
|
[node name="HP Box" type="HBoxContainer" parent="AspectRatio/PlayerInfo/HBoxContainer/VBox"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="HP" type="Label" parent="AspectRatio/PlayerInfo/HBoxContainer/VBox/HP Box"]
|
|
custom_minimum_size = Vector2(50, 0)
|
|
layout_mode = 2
|
|
text = "HP"
|
|
label_settings = ExtResource("2_hkw8m")
|
|
|
|
[node name="CenterContainer2" type="CenterContainer" parent="AspectRatio/PlayerInfo/HBoxContainer/VBox/HP Box"]
|
|
layout_mode = 2
|
|
|
|
[node name="HPNumber" type="Label" parent="AspectRatio/PlayerInfo/HBoxContainer/VBox/HP Box/CenterContainer2"]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(160, 0)
|
|
layout_mode = 2
|
|
text = "222/222"
|
|
label_settings = ExtResource("3_xdjh1")
|
|
horizontal_alignment = 1
|
|
|
|
[node name="CenterContainer" type="CenterContainer" parent="AspectRatio/PlayerInfo/HBoxContainer/VBox/HP Box"]
|
|
layout_mode = 2
|
|
|
|
[node name="HPProgressBar" type="ProgressBar" parent="AspectRatio/PlayerInfo/HBoxContainer/VBox/HP Box/CenterContainer"]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(150, 12)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_styles/background = SubResource("StyleBoxFlat_bqtin")
|
|
theme_override_styles/fill = SubResource("StyleBoxFlat_hkw8m")
|
|
value = 50.0
|
|
show_percentage = false
|
|
|
|
[node name="VT Box" type="HBoxContainer" parent="AspectRatio/PlayerInfo/HBoxContainer/VBox"]
|
|
layout_mode = 2
|
|
|
|
[node name="VT" type="Label" parent="AspectRatio/PlayerInfo/HBoxContainer/VBox/VT Box"]
|
|
custom_minimum_size = Vector2(50, 0)
|
|
layout_mode = 2
|
|
text = "VT"
|
|
label_settings = ExtResource("2_hkw8m")
|
|
|
|
[node name="CenterContainer2" type="CenterContainer" parent="AspectRatio/PlayerInfo/HBoxContainer/VBox/VT Box"]
|
|
layout_mode = 2
|
|
|
|
[node name="VTNumber" type="Label" parent="AspectRatio/PlayerInfo/HBoxContainer/VBox/VT Box/CenterContainer2"]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(160, 0)
|
|
layout_mode = 2
|
|
text = "222/222"
|
|
label_settings = ExtResource("3_xdjh1")
|
|
horizontal_alignment = 1
|
|
|
|
[node name="CenterContainer" type="CenterContainer" parent="AspectRatio/PlayerInfo/HBoxContainer/VBox/VT Box"]
|
|
layout_mode = 2
|
|
|
|
[node name="VTProgressBar" type="ProgressBar" parent="AspectRatio/PlayerInfo/HBoxContainer/VBox/VT Box/CenterContainer"]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(150, 12)
|
|
layout_mode = 2
|
|
size_flags_vertical = 4
|
|
theme_override_styles/background = SubResource("StyleBoxFlat_nv5jb")
|
|
theme_override_styles/fill = SubResource("StyleBoxFlat_gio7f")
|
|
value = 50.0
|
|
show_percentage = false
|
|
|
|
[node name="Level Box" type="HBoxContainer" parent="AspectRatio/PlayerInfo/HBoxContainer/VBox"]
|
|
layout_mode = 2
|
|
|
|
[node name="Level" type="Label" parent="AspectRatio/PlayerInfo/HBoxContainer/VBox/Level Box"]
|
|
custom_minimum_size = Vector2(50, 0)
|
|
layout_mode = 2
|
|
text = "LVL."
|
|
label_settings = ExtResource("2_hkw8m")
|
|
|
|
[node name="CenterContainer" type="CenterContainer" parent="AspectRatio/PlayerInfo/HBoxContainer/VBox/Level Box"]
|
|
layout_mode = 2
|
|
|
|
[node name="LevelNumber" type="Label" parent="AspectRatio/PlayerInfo/HBoxContainer/VBox/Level Box/CenterContainer"]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(60, 0)
|
|
layout_mode = 2
|
|
text = "1"
|
|
label_settings = ExtResource("3_xdjh1")
|
|
horizontal_alignment = 1
|
|
|
|
[node name="EXP Box" type="HBoxContainer" parent="AspectRatio/PlayerInfo/HBoxContainer/VBox"]
|
|
layout_mode = 2
|
|
|
|
[node name="EXP" type="Label" parent="AspectRatio/PlayerInfo/HBoxContainer/VBox/EXP Box"]
|
|
custom_minimum_size = Vector2(75, 0)
|
|
layout_mode = 2
|
|
text = "XP"
|
|
label_settings = ExtResource("2_hkw8m")
|
|
|
|
[node name="CenterContainer" type="CenterContainer" parent="AspectRatio/PlayerInfo/HBoxContainer/VBox/EXP Box"]
|
|
layout_mode = 2
|
|
|
|
[node name="EXPNumber" type="Label" parent="AspectRatio/PlayerInfo/HBoxContainer/VBox/EXP Box/CenterContainer"]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(145, 0)
|
|
layout_mode = 2
|
|
text = "0/12"
|
|
label_settings = ExtResource("3_xdjh1")
|