General UI Work
This commit is contained in:
@@ -1,14 +1,13 @@
|
||||
[gd_scene load_steps=27 format=3 uid="uid://dlj8qdg1c5048"]
|
||||
[gd_scene load_steps=21 format=3 uid="uid://dlj8qdg1c5048"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bi1xopts68paw" path="res://src/ui/inventory_menu/InventoryMenu.cs" id="1_b6rkr"]
|
||||
[ext_resource type="Shader" uid="uid://cnphwvmr05hp1" path="res://src/ui/inventory_menu/InventoryMenu.gdshader" id="2_0fvsh"]
|
||||
[ext_resource type="FontFile" uid="uid://cm8j5vcdop5x0" path="res://src/ui/fonts/Mrs-Eaves-OT-Roman_31443.ttf" id="3_lm4o1"]
|
||||
[ext_resource type="PackedScene" uid="uid://c005nd0m2eim" path="res://src/ui/inventory_menu/ItemSlot.tscn" id="4_aiji3"]
|
||||
[ext_resource type="FontFile" uid="uid://cb41qqmxqurj8" path="res://src/ui/fonts/FT88-Bold.ttf" id="4_rg5yb"]
|
||||
[ext_resource type="FontFile" uid="uid://dit3vylt7hmmx" path="res://src/ui/fonts/FT88-Regular.ttf" id="5_2qnnx"]
|
||||
[ext_resource type="LabelSettings" uid="uid://ca1q6yu8blwxf" path="res://src/ui/label_settings/InventoryMainTextBold.tres" id="6_tmdno"]
|
||||
[ext_resource type="LabelSettings" uid="uid://wc363u5t1yi2" path="res://src/ui/label_settings/HeadingFont.tres" id="4_l0byb"]
|
||||
[ext_resource type="LabelSettings" uid="uid://cuuo43x72xcsc" path="res://src/ui/label_settings/MainTextBold.tres" id="7_vyrxm"]
|
||||
[ext_resource type="FontFile" uid="uid://cplk3hcd0bjrd" path="res://src/ui/fonts/ebrimabd.ttf" id="8_7co7g"]
|
||||
[ext_resource type="Theme" uid="uid://daxuhpmyxwxck" path="res://src/ui/inventory_menu/InventoryDialogueSelectionStyle.tres" id="8_khyvo"]
|
||||
[ext_resource type="LabelSettings" uid="uid://bgnwcs434ppkf" path="res://src/ui/label_settings/EbrimaText.tres" id="8_ldqki"]
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_i55tv"]
|
||||
shader = ExtResource("2_0fvsh")
|
||||
@@ -27,31 +26,6 @@ shader_parameter/speed3 = 0.1
|
||||
|
||||
[sub_resource type="PlaceholderTexture2D" id="PlaceholderTexture2D_3ynpe"]
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_x4aj3"]
|
||||
font = ExtResource("3_lm4o1")
|
||||
font_size = 80
|
||||
font_color = Color(0.737255, 0.705882, 0.690196, 1)
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_31kc7"]
|
||||
font = ExtResource("3_lm4o1")
|
||||
font_size = 80
|
||||
font_color = Color(0.737255, 0.705882, 0.690196, 1)
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_ankkq"]
|
||||
font = ExtResource("4_rg5yb")
|
||||
font_size = 46
|
||||
font_color = Color(0.737255, 0.705882, 0.690196, 1)
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_ouwww"]
|
||||
font = ExtResource("4_rg5yb")
|
||||
font_size = 40
|
||||
font_color = Color(0.737255, 0.705882, 0.690196, 1)
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_mundu"]
|
||||
font = ExtResource("5_2qnnx")
|
||||
font_size = 20
|
||||
font_color = Color(0.737255, 0.705882, 0.690196, 1)
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_0kb6l"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_fu7o2"]
|
||||
@@ -115,34 +89,33 @@ custom_minimum_size = Vector2(300, 125)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
|
||||
[node name="BackArrow" type="Label" parent="InventoryInfo/HBoxContainer/ItemInfo/ItemTitleContainer"]
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="InventoryInfo/HBoxContainer/ItemInfo/ItemTitleContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="BackArrow" type="Label" parent="InventoryInfo/HBoxContainer/ItemInfo/ItemTitleContainer/HBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
custom_minimum_size = Vector2(100, 0)
|
||||
layout_mode = 2
|
||||
text = "◄"
|
||||
label_settings = SubResource("LabelSettings_x4aj3")
|
||||
label_settings = ExtResource("8_ldqki")
|
||||
|
||||
[node name="ItemsTitle" type="Label" parent="InventoryInfo/HBoxContainer/ItemInfo/ItemTitleContainer"]
|
||||
custom_minimum_size = Vector2(450, 0)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 1
|
||||
text = " ITEMS"
|
||||
label_settings = SubResource("LabelSettings_31kc7")
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="ForwardArrow" type="Label" parent="InventoryInfo/HBoxContainer/ItemInfo/ItemTitleContainer"]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
[node name="ItemsTitle" type="Label" parent="InventoryInfo/HBoxContainer/ItemInfo/ItemTitleContainer/HBoxContainer"]
|
||||
custom_minimum_size = Vector2(300, 0)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 1
|
||||
text = " ITEMS"
|
||||
label_settings = ExtResource("4_l0byb")
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="ForwardArrow" type="Label" parent="InventoryInfo/HBoxContainer/ItemInfo/ItemTitleContainer/HBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 1
|
||||
text = "►"
|
||||
label_settings = SubResource("LabelSettings_x4aj3")
|
||||
horizontal_alignment = 2
|
||||
label_settings = ExtResource("8_ldqki")
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="ItemsPage" type="VBoxContainer" parent="InventoryInfo/HBoxContainer/ItemInfo"]
|
||||
unique_name_in_owner = true
|
||||
@@ -209,41 +182,6 @@ layout_mode = 2
|
||||
mouse_filter = 2
|
||||
theme_override_constants/separation = 20
|
||||
|
||||
[node name="VTBox" type="HBoxContainer" parent="InventoryInfo/HBoxContainer/PlayerInfo"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
|
||||
[node name="ReferenceRect2" type="ReferenceRect" parent="InventoryInfo/HBoxContainer/PlayerInfo/VTBox"]
|
||||
custom_minimum_size = Vector2(50, 0)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="VTLabel" type="Label" parent="InventoryInfo/HBoxContainer/PlayerInfo/VTBox"]
|
||||
custom_minimum_size = Vector2(100, 0)
|
||||
layout_mode = 2
|
||||
text = "VT"
|
||||
label_settings = SubResource("LabelSettings_ankkq")
|
||||
|
||||
[node name="ReferenceRect" type="ReferenceRect" parent="InventoryInfo/HBoxContainer/PlayerInfo/VTBox"]
|
||||
custom_minimum_size = Vector2(50, 0)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="VTValue" type="Label" parent="InventoryInfo/HBoxContainer/PlayerInfo/VTBox"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(200, 0)
|
||||
layout_mode = 2
|
||||
text = "444/444"
|
||||
label_settings = SubResource("LabelSettings_ouwww")
|
||||
|
||||
[node name="ReferenceRect4" type="ReferenceRect" parent="InventoryInfo/HBoxContainer/PlayerInfo/VTBox"]
|
||||
custom_minimum_size = Vector2(18, 0)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="VTBonusLabel" type="Label" parent="InventoryInfo/HBoxContainer/PlayerInfo/VTBox"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "..."
|
||||
label_settings = ExtResource("6_tmdno")
|
||||
|
||||
[node name="ATKBox" type="HBoxContainer" parent="InventoryInfo/HBoxContainer/PlayerInfo"]
|
||||
layout_mode = 2
|
||||
|
||||
@@ -255,7 +193,7 @@ layout_mode = 2
|
||||
custom_minimum_size = Vector2(100, 0)
|
||||
layout_mode = 2
|
||||
text = "ATK"
|
||||
label_settings = SubResource("LabelSettings_ankkq")
|
||||
label_settings = ExtResource("8_ldqki")
|
||||
|
||||
[node name="ReferenceRect" type="ReferenceRect" parent="InventoryInfo/HBoxContainer/PlayerInfo/ATKBox"]
|
||||
custom_minimum_size = Vector2(50, 0)
|
||||
@@ -266,7 +204,7 @@ unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(200, 0)
|
||||
layout_mode = 2
|
||||
text = "666/666"
|
||||
label_settings = SubResource("LabelSettings_ouwww")
|
||||
label_settings = ExtResource("8_ldqki")
|
||||
|
||||
[node name="ReferenceRect4" type="ReferenceRect" parent="InventoryInfo/HBoxContainer/PlayerInfo/ATKBox"]
|
||||
custom_minimum_size = Vector2(18, 0)
|
||||
@@ -276,7 +214,7 @@ layout_mode = 2
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "..."
|
||||
label_settings = ExtResource("6_tmdno")
|
||||
label_settings = ExtResource("8_ldqki")
|
||||
|
||||
[node name="DEFBox" type="HBoxContainer" parent="InventoryInfo/HBoxContainer/PlayerInfo"]
|
||||
layout_mode = 2
|
||||
@@ -289,7 +227,7 @@ layout_mode = 2
|
||||
custom_minimum_size = Vector2(100, 0)
|
||||
layout_mode = 2
|
||||
text = "DEF"
|
||||
label_settings = SubResource("LabelSettings_ankkq")
|
||||
label_settings = ExtResource("8_ldqki")
|
||||
|
||||
[node name="ReferenceRect" type="ReferenceRect" parent="InventoryInfo/HBoxContainer/PlayerInfo/DEFBox"]
|
||||
custom_minimum_size = Vector2(50, 0)
|
||||
@@ -300,7 +238,7 @@ unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(200, 0)
|
||||
layout_mode = 2
|
||||
text = "888/888"
|
||||
label_settings = SubResource("LabelSettings_ouwww")
|
||||
label_settings = ExtResource("8_ldqki")
|
||||
|
||||
[node name="ReferenceRect4" type="ReferenceRect" parent="InventoryInfo/HBoxContainer/PlayerInfo/DEFBox"]
|
||||
custom_minimum_size = Vector2(18, 0)
|
||||
@@ -310,10 +248,10 @@ layout_mode = 2
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "..."
|
||||
label_settings = ExtResource("6_tmdno")
|
||||
label_settings = ExtResource("8_ldqki")
|
||||
|
||||
[node name="ReferenceRect3" type="ReferenceRect" parent="InventoryInfo/HBoxContainer/PlayerInfo"]
|
||||
custom_minimum_size = Vector2(0, 600)
|
||||
custom_minimum_size = Vector2(0, 500)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="InventoryInfo/HBoxContainer/PlayerInfo"]
|
||||
@@ -341,7 +279,7 @@ custom_minimum_size = Vector2(400, 100)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 0
|
||||
text = "Use Item?"
|
||||
label_settings = ExtResource("6_tmdno")
|
||||
label_settings = ExtResource("7_vyrxm")
|
||||
autowrap_mode = 2
|
||||
|
||||
[node name="ItemEffectLabel" type="Label" parent="InventoryInfo/HBoxContainer/PlayerInfo/HBoxContainer/VBoxContainer"]
|
||||
@@ -349,7 +287,7 @@ unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(400, 100)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 0
|
||||
label_settings = SubResource("LabelSettings_mundu")
|
||||
label_settings = ExtResource("7_vyrxm")
|
||||
autowrap_mode = 2
|
||||
|
||||
[node name="UseButton" type="Button" parent="InventoryInfo/HBoxContainer/PlayerInfo/HBoxContainer/VBoxContainer"]
|
||||
@@ -368,6 +306,7 @@ theme_override_colors/font_disabled_color = Color(0.137255, 0.121569, 0.12549, 1
|
||||
theme_override_colors/font_color = Color(0.737255, 0.705882, 0.690196, 1)
|
||||
theme_override_colors/font_focus_color = Color(1, 0.94902, 0, 1)
|
||||
theme_override_colors/font_pressed_color = Color(0.137255, 0.121569, 0.12549, 1)
|
||||
theme_override_fonts/font = ExtResource("8_7co7g")
|
||||
theme_override_styles/focus = SubResource("StyleBoxEmpty_0kb6l")
|
||||
theme_override_styles/disabled = SubResource("StyleBoxEmpty_fu7o2")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxEmpty_nkvce")
|
||||
@@ -392,6 +331,7 @@ theme_override_colors/font_disabled_color = Color(0.137255, 0.121569, 0.12549, 1
|
||||
theme_override_colors/font_color = Color(0.737255, 0.705882, 0.690196, 1)
|
||||
theme_override_colors/font_focus_color = Color(1, 0.94902, 0, 1)
|
||||
theme_override_colors/font_pressed_color = Color(0.137255, 0.121569, 0.12549, 1)
|
||||
theme_override_fonts/font = ExtResource("8_7co7g")
|
||||
theme_override_styles/focus = SubResource("StyleBoxEmpty_0kb6l")
|
||||
theme_override_styles/disabled = SubResource("StyleBoxEmpty_ascpt")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxEmpty_abpb1")
|
||||
@@ -416,6 +356,7 @@ theme_override_colors/font_disabled_color = Color(0.137255, 0.121569, 0.12549, 1
|
||||
theme_override_colors/font_color = Color(0.737255, 0.705882, 0.690196, 1)
|
||||
theme_override_colors/font_focus_color = Color(1, 0.94902, 0, 1)
|
||||
theme_override_colors/font_pressed_color = Color(0.137255, 0.121569, 0.12549, 1)
|
||||
theme_override_fonts/font = ExtResource("8_7co7g")
|
||||
theme_override_styles/focus = SubResource("StyleBoxEmpty_omlgh")
|
||||
theme_override_styles/disabled = SubResource("StyleBoxEmpty_uerb4")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxEmpty_lvcf8")
|
||||
|
||||
Reference in New Issue
Block a user