More work on dialogue, portraits, customizer and intro
This commit is contained in:
329
templates/hero_portrait.tscn
Normal file
329
templates/hero_portrait.tscn
Normal file
@@ -0,0 +1,329 @@
|
||||
[gd_scene load_steps=36 format=3 uid="uid://drshemnag35re"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://m86jmtwv1a22" path="res://scripts/adventurer_portrait.gd" id="1_ovplg"]
|
||||
[ext_resource type="Texture2D" uid="uid://b303qa76o5r1m" path="res://external/test portrait/farmer_f/hat.png" id="2_rvj82"]
|
||||
[ext_resource type="Shader" uid="uid://cru1otvka0qn5" path="res://external/test portrait/variant_color.gdshader" id="3_op84m"]
|
||||
[ext_resource type="Texture2D" uid="uid://dbdjaye6srxhx" path="res://external/test portrait/farmer_f/head.png" id="4_dcd5x"]
|
||||
[ext_resource type="Texture2D" uid="uid://bpiu6d7lbhyw" path="res://external/test portrait/gradients/hair/(l)mid.tres" id="4_rvj82"]
|
||||
[ext_resource type="Script" uid="uid://cdi0oxcug1hup" path="res://scripts/color_variant.gd" id="5_riel4"]
|
||||
[ext_resource type="Texture2D" uid="uid://can8npg0ufr3f" path="res://external/test portrait/farmer_f/hair_bg.png" id="7_nwmjm"]
|
||||
[ext_resource type="Texture2D" uid="uid://cru775pghpate" path="res://external/test portrait/farmer_f/hair_fg_shadow.png" id="8_2gbpo"]
|
||||
[ext_resource type="Texture2D" uid="uid://x4e86o28672u" path="res://external/test portrait/farmer_f/brow_shadow-2.png" id="9_qslms"]
|
||||
[ext_resource type="Texture2D" uid="uid://caow8dqiog7j4" path="res://external/test portrait/farmer_f/ear.png" id="10_3uw50"]
|
||||
[ext_resource type="Texture2D" uid="uid://csp7xbtu0tpn7" path="res://external/test portrait/farmer_f/eye-white-1.png" id="11_06xpe"]
|
||||
[ext_resource type="Texture2D" uid="uid://mygmunn3voie" path="res://external/test portrait/farmer_f/eyes-iris-1.png" id="13_h52hx"]
|
||||
[ext_resource type="Texture2D" uid="uid://cygn0xfsayykd" path="res://external/test portrait/player/eye-a.png" id="13_riel4"]
|
||||
[ext_resource type="Texture2D" uid="uid://vt17lekvchdg" path="res://external/test portrait/farmer_f/hair_fg.png" id="14_wbk3e"]
|
||||
[ext_resource type="Texture2D" uid="uid://bg6lac6nl5k84" path="res://external/test portrait/player/eye-b.png" id="14_yemgt"]
|
||||
[ext_resource type="Texture2D" uid="uid://brmta1rtiau4a" path="res://external/test portrait/farmer_f/brows-2.png" id="15_dx3tu"]
|
||||
[ext_resource type="Texture2D" uid="uid://bxdclvopvj75q" path="res://external/test portrait/player/eye-c.png" id="15_nwmjm"]
|
||||
[ext_resource type="Texture2D" uid="uid://wnkr20dtf734" path="res://external/test portrait/farmer_f/eyes-lashes-1.png" id="16_grsle"]
|
||||
[ext_resource type="Texture2D" uid="uid://0dwdi7m62trg" path="res://external/test portrait/gradients/hair/(c)red.tres" id="16_outqi"]
|
||||
[ext_resource type="Texture2D" uid="uid://bqmnbsxgbrcpw" path="res://external/test portrait/gradients/hair/(l)red.tres" id="17_dcd5x"]
|
||||
[ext_resource type="Texture2D" uid="uid://crrd8mpcuync2" path="res://external/test portrait/farmer_f/body.png" id="17_m1scf"]
|
||||
[ext_resource type="Texture2D" uid="uid://dyeu4kwwnxjn5" path="res://external/test portrait/farmer_f/hat_fg.png" id="18_prh5n"]
|
||||
|
||||
[sub_resource type="Gradient" id="Gradient_riel4"]
|
||||
offsets = PackedFloat32Array(0.4870968, 0.6, 0.88387096, 1)
|
||||
colors = PackedColorArray(0.69, 0.045999996, 0, 1, 1, 0.67700005, 0.49, 1, 1, 0.85942566, 0.78655404, 1, 1, 0.88, 0.82, 1)
|
||||
|
||||
[sub_resource type="GradientTexture1D" id="GradientTexture1D_yemgt"]
|
||||
gradient = SubResource("Gradient_riel4")
|
||||
|
||||
[sub_resource type="Gradient" id="Gradient_nwmjm"]
|
||||
offsets = PackedFloat32Array(0, 0.5387097, 0.6967742, 1)
|
||||
colors = PackedColorArray(0, 0, 0, 1, 0.38549262, 0.38549247, 0.3854924, 1, 0.8064516, 0.8064516, 0.8064516, 1, 1, 1, 1, 1)
|
||||
|
||||
[sub_resource type="GradientTexture1D" id="GradientTexture1D_2gbpo"]
|
||||
gradient = SubResource("Gradient_nwmjm")
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_rvj82"]
|
||||
resource_local_to_scene = true
|
||||
shader = ExtResource("3_op84m")
|
||||
shader_parameter/color_gradient = SubResource("GradientTexture1D_yemgt")
|
||||
shader_parameter/luminosity_gradient = SubResource("GradientTexture1D_2gbpo")
|
||||
shader_parameter/flash = false
|
||||
shader_parameter/flash_strength = 0.4
|
||||
shader_parameter/highlight = Color(1, 1, 1, 0)
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_ovplg"]
|
||||
resource_local_to_scene = true
|
||||
shader = ExtResource("3_op84m")
|
||||
shader_parameter/luminosity_gradient = ExtResource("4_rvj82")
|
||||
shader_parameter/flash = false
|
||||
shader_parameter/flash_strength = 0.4
|
||||
shader_parameter/highlight = Color(0, 0, 0, 0)
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_outqi"]
|
||||
resource_local_to_scene = true
|
||||
shader = ExtResource("3_op84m")
|
||||
shader_parameter/luminosity_gradient = ExtResource("4_rvj82")
|
||||
shader_parameter/flash = false
|
||||
shader_parameter/flash_strength = 0.4
|
||||
shader_parameter/highlight = Color(1, 1, 1, 0)
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_isphy"]
|
||||
resource_local_to_scene = true
|
||||
shader = ExtResource("3_op84m")
|
||||
shader_parameter/luminosity_gradient = ExtResource("4_rvj82")
|
||||
shader_parameter/flash = false
|
||||
shader_parameter/flash_strength = 0.4
|
||||
shader_parameter/highlight = Color(1, 1, 1, 0)
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_riel4"]
|
||||
resource_local_to_scene = true
|
||||
shader = ExtResource("3_op84m")
|
||||
shader_parameter/luminosity_gradient = ExtResource("4_rvj82")
|
||||
shader_parameter/flash = false
|
||||
shader_parameter/flash_strength = 0.4
|
||||
shader_parameter/highlight = Color(1, 1, 1, 0)
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_nwmjm"]
|
||||
resource_local_to_scene = true
|
||||
shader = ExtResource("3_op84m")
|
||||
shader_parameter/luminosity_gradient = ExtResource("4_rvj82")
|
||||
shader_parameter/flash = false
|
||||
shader_parameter/flash_strength = 0.4
|
||||
shader_parameter/highlight = Color(1, 1, 1, 0)
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_dcd5x"]
|
||||
resource_local_to_scene = true
|
||||
shader = ExtResource("3_op84m")
|
||||
shader_parameter/luminosity_gradient = ExtResource("4_rvj82")
|
||||
shader_parameter/flash = false
|
||||
shader_parameter/flash_strength = 0.4
|
||||
shader_parameter/highlight = Color(1, 1, 1, 0)
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_yemgt"]
|
||||
resource_local_to_scene = true
|
||||
shader = ExtResource("3_op84m")
|
||||
shader_parameter/color_gradient = ExtResource("16_outqi")
|
||||
shader_parameter/luminosity_gradient = ExtResource("17_dcd5x")
|
||||
shader_parameter/flash = false
|
||||
shader_parameter/flash_strength = 0.4
|
||||
shader_parameter/highlight = Color(1, 1, 1, 0)
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_op84m"]
|
||||
resource_local_to_scene = true
|
||||
shader = ExtResource("3_op84m")
|
||||
shader_parameter/luminosity_gradient = ExtResource("4_rvj82")
|
||||
shader_parameter/flash = false
|
||||
shader_parameter/flash_strength = 0.4
|
||||
shader_parameter/highlight = Color(1, 1, 1, 0)
|
||||
|
||||
[node name="HeroPortrait" type="Control"]
|
||||
custom_minimum_size = Vector2(512, 512)
|
||||
layout_mode = 3
|
||||
anchors_preset = 0
|
||||
offset_right = 40.0
|
||||
offset_bottom = 40.0
|
||||
script = ExtResource("1_ovplg")
|
||||
metadata/_custom_type_script = "uid://m86jmtwv1a22"
|
||||
|
||||
[node name="Hat BG" type="TextureRect" parent="."]
|
||||
custom_minimum_size = Vector2(512, 512)
|
||||
layout_mode = 0
|
||||
offset_right = 512.0
|
||||
offset_bottom = 512.0
|
||||
texture = ExtResource("2_rvj82")
|
||||
|
||||
[node name="Head" type="TextureRect" parent="."]
|
||||
z_index = 2
|
||||
material = SubResource("ShaderMaterial_rvj82")
|
||||
custom_minimum_size = Vector2(512, 512)
|
||||
layout_mode = 0
|
||||
offset_right = 512.0
|
||||
offset_bottom = 512.0
|
||||
texture = ExtResource("4_dcd5x")
|
||||
script = ExtResource("5_riel4")
|
||||
|
||||
[node name="Ear" type="TextureRect" parent="."]
|
||||
z_index = 3
|
||||
material = SubResource("ShaderMaterial_ovplg")
|
||||
custom_minimum_size = Vector2(512, 512)
|
||||
layout_mode = 0
|
||||
offset_right = 512.0
|
||||
offset_bottom = 512.0
|
||||
texture = ExtResource("10_3uw50")
|
||||
script = ExtResource("5_riel4")
|
||||
|
||||
[node name="Hair" type="Control" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="A" type="Control" parent="Hair"]
|
||||
anchors_preset = 0
|
||||
offset_right = 40.0
|
||||
offset_bottom = 40.0
|
||||
|
||||
[node name="FG Shadow" type="TextureRect" parent="Hair/A"]
|
||||
z_index = 4
|
||||
material = SubResource("ShaderMaterial_outqi")
|
||||
custom_minimum_size = Vector2(512, 512)
|
||||
layout_mode = 0
|
||||
offset_right = 512.0
|
||||
offset_bottom = 512.0
|
||||
texture = ExtResource("8_2gbpo")
|
||||
script = ExtResource("5_riel4")
|
||||
|
||||
[node name="BG" type="TextureRect" parent="Hair/A"]
|
||||
z_index = 1
|
||||
material = SubResource("ShaderMaterial_isphy")
|
||||
custom_minimum_size = Vector2(512, 512)
|
||||
layout_mode = 0
|
||||
offset_right = 512.0
|
||||
offset_bottom = 512.0
|
||||
texture = ExtResource("7_nwmjm")
|
||||
script = ExtResource("5_riel4")
|
||||
type = 1
|
||||
|
||||
[node name="FG" type="TextureRect" parent="Hair/A"]
|
||||
z_index = 5
|
||||
material = SubResource("ShaderMaterial_riel4")
|
||||
custom_minimum_size = Vector2(512, 512)
|
||||
layout_mode = 0
|
||||
offset_right = 512.0
|
||||
offset_bottom = 512.0
|
||||
texture = ExtResource("14_wbk3e")
|
||||
script = ExtResource("5_riel4")
|
||||
type = 1
|
||||
|
||||
[node name="Body" type="TextureRect" parent="."]
|
||||
custom_minimum_size = Vector2(512, 512)
|
||||
layout_mode = 0
|
||||
offset_right = 512.0
|
||||
offset_bottom = 512.0
|
||||
texture = ExtResource("17_m1scf")
|
||||
|
||||
[node name="Hat FG" type="TextureRect" parent="."]
|
||||
z_index = 6
|
||||
custom_minimum_size = Vector2(512, 512)
|
||||
layout_mode = 0
|
||||
offset_right = 512.0
|
||||
offset_bottom = 512.0
|
||||
texture = ExtResource("18_prh5n")
|
||||
|
||||
[node name="Eyes" type="Control" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="A" type="Control" parent="Eyes"]
|
||||
anchors_preset = 0
|
||||
offset_right = 40.0
|
||||
offset_bottom = 40.0
|
||||
|
||||
[node name="Eyelids" type="TextureRect" parent="Eyes/A"]
|
||||
z_index = 4
|
||||
material = SubResource("ShaderMaterial_nwmjm")
|
||||
custom_minimum_size = Vector2(512, 512)
|
||||
layout_mode = 0
|
||||
offset_right = 512.0
|
||||
offset_bottom = 512.0
|
||||
texture = ExtResource("13_riel4")
|
||||
script = ExtResource("5_riel4")
|
||||
|
||||
[node name="B" type="Control" parent="Eyes"]
|
||||
visible = false
|
||||
anchors_preset = 0
|
||||
offset_right = 40.0
|
||||
offset_bottom = 40.0
|
||||
|
||||
[node name="Eyelids" type="TextureRect" parent="Eyes/B"]
|
||||
z_index = 4
|
||||
material = SubResource("ShaderMaterial_nwmjm")
|
||||
custom_minimum_size = Vector2(512, 512)
|
||||
layout_mode = 0
|
||||
offset_right = 512.0
|
||||
offset_bottom = 512.0
|
||||
texture = ExtResource("14_yemgt")
|
||||
script = ExtResource("5_riel4")
|
||||
|
||||
[node name="C" type="Control" parent="Eyes"]
|
||||
visible = false
|
||||
anchors_preset = 0
|
||||
offset_right = 40.0
|
||||
offset_bottom = 40.0
|
||||
|
||||
[node name="Eyelids" type="TextureRect" parent="Eyes/C"]
|
||||
z_index = 4
|
||||
material = SubResource("ShaderMaterial_nwmjm")
|
||||
custom_minimum_size = Vector2(512, 512)
|
||||
layout_mode = 0
|
||||
offset_right = 512.0
|
||||
offset_bottom = 512.0
|
||||
texture = ExtResource("15_nwmjm")
|
||||
script = ExtResource("5_riel4")
|
||||
|
||||
[node name="D" type="Control" parent="Eyes"]
|
||||
visible = false
|
||||
anchors_preset = 0
|
||||
offset_right = 40.0
|
||||
offset_bottom = 40.0
|
||||
|
||||
[node name="Eyelids" type="TextureRect" parent="Eyes/D"]
|
||||
z_index = 4
|
||||
material = SubResource("ShaderMaterial_nwmjm")
|
||||
custom_minimum_size = Vector2(512, 512)
|
||||
layout_mode = 0
|
||||
offset_right = 512.0
|
||||
offset_bottom = 512.0
|
||||
texture = ExtResource("16_grsle")
|
||||
script = ExtResource("5_riel4")
|
||||
|
||||
[node name="Eye White" type="TextureRect" parent="Eyes/D"]
|
||||
z_index = 2
|
||||
custom_minimum_size = Vector2(512, 512)
|
||||
layout_mode = 0
|
||||
offset_right = 512.0
|
||||
offset_bottom = 512.0
|
||||
texture = ExtResource("11_06xpe")
|
||||
|
||||
[node name="Irises" type="TextureRect" parent="Eyes/D"]
|
||||
z_index = 3
|
||||
material = SubResource("ShaderMaterial_dcd5x")
|
||||
custom_minimum_size = Vector2(512, 512)
|
||||
layout_mode = 0
|
||||
offset_right = 512.0
|
||||
offset_bottom = 512.0
|
||||
texture = ExtResource("13_h52hx")
|
||||
script = ExtResource("5_riel4")
|
||||
type = 2
|
||||
|
||||
[node name="Brows" type="Control" parent="."]
|
||||
anchors_preset = 0
|
||||
offset_right = 40.0
|
||||
offset_bottom = 40.0
|
||||
|
||||
[node name="A" type="Control" parent="Brows"]
|
||||
anchors_preset = 0
|
||||
offset_right = 40.0
|
||||
offset_bottom = 40.0
|
||||
|
||||
[node name="Brows" type="TextureRect" parent="Brows/A"]
|
||||
z_index = 6
|
||||
material = SubResource("ShaderMaterial_yemgt")
|
||||
custom_minimum_size = Vector2(512, 512)
|
||||
layout_mode = 0
|
||||
offset_right = 512.0
|
||||
offset_bottom = 512.0
|
||||
texture = ExtResource("15_dx3tu")
|
||||
script = ExtResource("5_riel4")
|
||||
type = 1
|
||||
|
||||
[node name="Brow Shadows" type="TextureRect" parent="Brows/A"]
|
||||
z_index = 4
|
||||
material = SubResource("ShaderMaterial_op84m")
|
||||
custom_minimum_size = Vector2(512, 512)
|
||||
layout_mode = 0
|
||||
offset_right = 512.0
|
||||
offset_bottom = 512.0
|
||||
texture = ExtResource("9_qslms")
|
||||
script = ExtResource("5_riel4")
|
||||
@@ -22,7 +22,6 @@ corner_radius_bottom_left = 3
|
||||
corner_detail = 5
|
||||
|
||||
[node name="MainPanel" type="MarginContainer"]
|
||||
anchors_preset = -1
|
||||
offset_right = 401.0
|
||||
offset_bottom = 853.0
|
||||
theme_override_constants/margin_left = 0
|
||||
@@ -44,6 +43,14 @@ custom_minimum_size = Vector2(401, 216)
|
||||
layout_mode = 2
|
||||
theme_override_styles/panel = ExtResource("2_b7y1i")
|
||||
|
||||
[node name="TextureButton" type="TextureButton" parent="VBoxContainer/OpenShift"]
|
||||
layout_mode = 0
|
||||
offset_left = 358.0
|
||||
offset_top = 5.0
|
||||
offset_right = 397.0
|
||||
offset_bottom = 44.0
|
||||
texture_normal = ExtResource("5_6vw8v")
|
||||
|
||||
[node name="NinePatchRect" type="NinePatchRect" parent="VBoxContainer/OpenShift"]
|
||||
layout_mode = 0
|
||||
offset_left = 9.0
|
||||
@@ -107,6 +114,7 @@ theme_override_styles/panel = ExtResource("4_b7y1i")
|
||||
|
||||
[node name="DragRegion" type="Control" parent="VBoxContainer/WorkingShift"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 0
|
||||
offset_left = 4.0
|
||||
offset_top = 3.0
|
||||
offset_right = 399.0
|
||||
@@ -212,6 +220,7 @@ layout_mode = 2
|
||||
stream = ExtResource("6_osxme")
|
||||
volume_db = -10.31
|
||||
|
||||
[connection signal="pressed" from="VBoxContainer/OpenShift/TextureButton" to="." method="_on_options_button_pressed"]
|
||||
[connection signal="pressed" from="VBoxContainer/OpenShift/Margin/OpenList/Button" to="." method="_on_end_shift_pressed"]
|
||||
[connection signal="gui_input" from="VBoxContainer/WorkingShift/DragRegion" to="." method="_on_drag_region_gui_input"]
|
||||
[connection signal="pressed" from="VBoxContainer/WorkingShift/MarginContainer/WorkingList/HBoxContainer/QuestViewerButton" to="." method="_on_quest_viewer_button_pressed"]
|
||||
|
||||
@@ -22,7 +22,7 @@ shader = ExtResource("2_lqa1n")
|
||||
shader_parameter/add_color = Color(1, 1, 1, 0)
|
||||
shader_parameter/fringe_color = SubResource("GradientTexture1D_blm8a")
|
||||
shader_parameter/fringe_threshold = 0.10000000000582077
|
||||
shader_parameter/threshold = 1.0
|
||||
shader_parameter/threshold = 0.3606666537395989
|
||||
|
||||
[sub_resource type="Animation" id="Animation_jh32y"]
|
||||
length = 0.001
|
||||
@@ -189,17 +189,18 @@ _data = {
|
||||
}
|
||||
|
||||
[node name="Map Pin" type="TextureButton"]
|
||||
anchors_preset = -1
|
||||
offset_left = 69.0
|
||||
offset_top = 410.0
|
||||
offset_right = 139.0
|
||||
offset_bottom = 480.0
|
||||
offset_left = -35.0
|
||||
offset_top = -35.0
|
||||
offset_right = 35.0
|
||||
offset_bottom = 35.0
|
||||
pivot_offset = Vector2(35, 35)
|
||||
script = ExtResource("1_ymuo7")
|
||||
circle_size = 200.0
|
||||
add_color = Color(1, 1, 1, 0)
|
||||
threshold = 0.3606666537395989
|
||||
label = null
|
||||
locked_brief = null
|
||||
unlocked_brief = null
|
||||
|
||||
[node name="Panel" type="PanelContainer" parent="."]
|
||||
[node name="BriefPanel" type="PanelContainer" parent="."]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
custom_minimum_size = Vector2(300, 100)
|
||||
layout_mode = 0
|
||||
@@ -209,7 +210,8 @@ offset_right = 334.0
|
||||
offset_bottom = 30.0
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="Label" type="Label" parent="Panel"]
|
||||
[node name="Brief" type="Label" parent="BriefPanel"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 1
|
||||
theme_override_constants/line_spacing = -3
|
||||
@@ -225,6 +227,7 @@ material = SubResource("ShaderMaterial_ymuo7")
|
||||
[node name="Pin" type="Control" parent="CanvasGroup"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 3
|
||||
anchors_preset = 0
|
||||
offset_right = 40.0
|
||||
offset_bottom = 40.0
|
||||
|
||||
@@ -267,7 +270,6 @@ texture = ExtResource("6_vq4p4")
|
||||
|
||||
[node name="Banner" type="TextureRect" parent="CanvasGroup"]
|
||||
visible = false
|
||||
anchors_preset = -1
|
||||
offset_left = -59.0
|
||||
offset_top = -59.0
|
||||
offset_right = 129.0
|
||||
@@ -275,6 +277,7 @@ offset_bottom = 129.0
|
||||
texture = ExtResource("7_175dc")
|
||||
|
||||
[node name="Label" type="Label" parent="CanvasGroup/Banner"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(125, 0)
|
||||
layout_mode = 0
|
||||
offset_left = 34.0
|
||||
|
||||
@@ -1,4 +1,48 @@
|
||||
[gd_scene format=3 uid="uid://dno0a4457twd4"]
|
||||
[gd_scene load_steps=14 format=3 uid="uid://dno0a4457twd4"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://c3wwe6r000gpq" path="res://external/test portrait/farmer_f/composite.png" id="1_h8465"]
|
||||
[ext_resource type="Script" uid="uid://y86x71nakgkl" path="res://scripts/portrait_customizer.gd" id="1_qv0tv"]
|
||||
[ext_resource type="PackedScene" uid="uid://drshemnag35re" path="res://templates/hero_portrait.tscn" id="3_wkmmk"]
|
||||
|
||||
[sub_resource type="Gradient" id="Gradient_v2k53"]
|
||||
offsets = PackedFloat32Array(0)
|
||||
colors = PackedColorArray(1, 0.73333335, 0, 1)
|
||||
|
||||
[sub_resource type="GradientTexture1D" id="GradientTexture1D_6y6h7"]
|
||||
gradient = SubResource("Gradient_v2k53")
|
||||
width = 1
|
||||
|
||||
[sub_resource type="Gradient" id="Gradient_5l11s"]
|
||||
offsets = PackedFloat32Array(0)
|
||||
colors = PackedColorArray(0.46, 0.23, 0, 1)
|
||||
|
||||
[sub_resource type="GradientTexture1D" id="GradientTexture1D_uwnmi"]
|
||||
gradient = SubResource("Gradient_5l11s")
|
||||
width = 1
|
||||
|
||||
[sub_resource type="Gradient" id="Gradient_x374a"]
|
||||
offsets = PackedFloat32Array(0)
|
||||
colors = PackedColorArray(0.8, 0.18666668, 0, 1)
|
||||
|
||||
[sub_resource type="GradientTexture1D" id="GradientTexture1D_72sxj"]
|
||||
gradient = SubResource("Gradient_x374a")
|
||||
width = 1
|
||||
|
||||
[sub_resource type="Gradient" id="Gradient_xot8x"]
|
||||
offsets = PackedFloat32Array(0)
|
||||
colors = PackedColorArray(0.13682577, 0.13682574, 0.13682571, 1)
|
||||
|
||||
[sub_resource type="GradientTexture1D" id="GradientTexture1D_ac3np"]
|
||||
gradient = SubResource("Gradient_xot8x")
|
||||
width = 1
|
||||
|
||||
[sub_resource type="Gradient" id="Gradient_osq0m"]
|
||||
offsets = PackedFloat32Array(0)
|
||||
colors = PackedColorArray(0, 0, 0.7647059, 1)
|
||||
|
||||
[sub_resource type="GradientTexture1D" id="GradientTexture1D_5l84q"]
|
||||
gradient = SubResource("Gradient_osq0m")
|
||||
width = 1
|
||||
|
||||
[node name="Portrait Customizer" type="Control"]
|
||||
layout_mode = 3
|
||||
@@ -7,3 +51,412 @@ anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("1_qv0tv")
|
||||
|
||||
[node name="ColorRect" type="ColorRect" parent="."]
|
||||
custom_minimum_size = Vector2(600, 600)
|
||||
layout_mode = 0
|
||||
offset_left = 1024.0
|
||||
offset_top = 79.0
|
||||
offset_right = 1624.0
|
||||
offset_bottom = 679.0
|
||||
color = Color(0.6872149, 0.68721503, 0.6872149, 1)
|
||||
|
||||
[node name="ColorRect2" type="ColorRect" parent="."]
|
||||
custom_minimum_size = Vector2(512, 512)
|
||||
layout_mode = 0
|
||||
offset_left = 1070.0
|
||||
offset_top = 120.0
|
||||
offset_right = 1582.0
|
||||
offset_bottom = 632.0
|
||||
|
||||
[node name="Base" type="TextureRect" parent="."]
|
||||
visible = false
|
||||
custom_minimum_size = Vector2(512, 512)
|
||||
layout_mode = 0
|
||||
offset_left = 692.0
|
||||
offset_top = 129.0
|
||||
offset_right = 1204.0
|
||||
offset_bottom = 641.0
|
||||
texture = ExtResource("1_h8465")
|
||||
|
||||
[node name="HeroPortrait" parent="." instance=ExtResource("3_wkmmk")]
|
||||
layout_mode = 0
|
||||
offset_left = 1070.0
|
||||
offset_top = 120.0
|
||||
offset_right = 1582.0
|
||||
offset_bottom = 632.0
|
||||
|
||||
[node name="LeftButton" type="Button" parent="."]
|
||||
layout_mode = 0
|
||||
offset_left = 957.0
|
||||
offset_top = 338.0
|
||||
offset_right = 1022.0
|
||||
offset_bottom = 483.0
|
||||
theme_override_font_sizes/font_size = 100
|
||||
text = "<"
|
||||
|
||||
[node name="UpButton" type="Button" parent="."]
|
||||
layout_mode = 0
|
||||
offset_left = 1396.0
|
||||
offset_top = 12.000006
|
||||
offset_right = 1461.0
|
||||
offset_bottom = 157.0
|
||||
rotation = 1.5707964
|
||||
theme_override_font_sizes/font_size = 100
|
||||
text = "<"
|
||||
|
||||
[node name="DownButton" type="Button" parent="."]
|
||||
layout_mode = 0
|
||||
offset_left = 1259.0
|
||||
offset_top = 747.0
|
||||
offset_right = 1324.0
|
||||
offset_bottom = 892.0
|
||||
rotation = -1.5707964
|
||||
theme_override_font_sizes/font_size = 100
|
||||
text = "<"
|
||||
|
||||
[node name="RightButton" type="Button" parent="."]
|
||||
layout_mode = 0
|
||||
offset_left = 1625.0
|
||||
offset_top = 338.0
|
||||
offset_right = 1690.0
|
||||
offset_bottom = 483.0
|
||||
theme_override_font_sizes/font_size = 100
|
||||
text = ">"
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
||||
layout_mode = 0
|
||||
offset_left = 925.0
|
||||
offset_top = 765.0
|
||||
offset_right = 1770.0
|
||||
offset_bottom = 1059.0
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
|
||||
layout_mode = 2
|
||||
alignment = 1
|
||||
|
||||
[node name="Button" type="Button" parent="VBoxContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
theme_override_font_sizes/font_size = 100
|
||||
text = "RESET"
|
||||
|
||||
[node name="Button2" type="Button" parent="VBoxContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
theme_override_font_sizes/font_size = 100
|
||||
text = "Random"
|
||||
|
||||
[node name="Button3" type="Button" parent="VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 100
|
||||
text = "ACCEPT"
|
||||
|
||||
[node name="VBoxContainer2" type="VBoxContainer" parent="."]
|
||||
layout_mode = 0
|
||||
offset_left = 138.0
|
||||
offset_top = 19.0
|
||||
offset_right = 768.0
|
||||
offset_bottom = 1062.0
|
||||
theme_override_constants/separation = 10
|
||||
|
||||
[node name="HairPanel" type="PanelContainer" parent="VBoxContainer2"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="VBoxContainer2/HairPanel"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 25
|
||||
theme_override_constants/margin_top = 25
|
||||
theme_override_constants/margin_right = 25
|
||||
theme_override_constants/margin_bottom = 25
|
||||
|
||||
[node name="HBoxContainer" type="VBoxContainer" parent="VBoxContainer2/HairPanel/MarginContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="VBoxContainer2/HairPanel/MarginContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 48
|
||||
text = "Hair"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="HairGrid" type="GridContainer" parent="VBoxContainer2/HairPanel/MarginContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/h_separation = 20
|
||||
theme_override_constants/v_separation = 20
|
||||
columns = 5
|
||||
|
||||
[node name="BlondHairButton" type="TextureButton" parent="VBoxContainer2/HairPanel/MarginContainer/HBoxContainer/HairGrid"]
|
||||
custom_minimum_size = Vector2(100, 100)
|
||||
layout_mode = 2
|
||||
texture_normal = SubResource("GradientTexture1D_6y6h7")
|
||||
ignore_texture_size = true
|
||||
stretch_mode = 0
|
||||
|
||||
[node name="BrownHairButton" type="TextureButton" parent="VBoxContainer2/HairPanel/MarginContainer/HBoxContainer/HairGrid"]
|
||||
custom_minimum_size = Vector2(100, 100)
|
||||
layout_mode = 2
|
||||
texture_normal = SubResource("GradientTexture1D_uwnmi")
|
||||
ignore_texture_size = true
|
||||
stretch_mode = 0
|
||||
|
||||
[node name="RedHairButton" type="TextureButton" parent="VBoxContainer2/HairPanel/MarginContainer/HBoxContainer/HairGrid"]
|
||||
custom_minimum_size = Vector2(100, 100)
|
||||
layout_mode = 2
|
||||
texture_normal = SubResource("GradientTexture1D_72sxj")
|
||||
ignore_texture_size = true
|
||||
stretch_mode = 0
|
||||
|
||||
[node name="BlackHairButton" type="TextureButton" parent="VBoxContainer2/HairPanel/MarginContainer/HBoxContainer/HairGrid"]
|
||||
custom_minimum_size = Vector2(100, 100)
|
||||
layout_mode = 2
|
||||
texture_normal = SubResource("GradientTexture1D_ac3np")
|
||||
ignore_texture_size = true
|
||||
stretch_mode = 0
|
||||
|
||||
[node name="BlueHairButton" type="TextureButton" parent="VBoxContainer2/HairPanel/MarginContainer/HBoxContainer/HairGrid"]
|
||||
custom_minimum_size = Vector2(100, 100)
|
||||
layout_mode = 2
|
||||
texture_normal = SubResource("GradientTexture1D_5l84q")
|
||||
ignore_texture_size = true
|
||||
stretch_mode = 0
|
||||
|
||||
[node name="BlondHairButton2" type="TextureButton" parent="VBoxContainer2/HairPanel/MarginContainer/HBoxContainer/HairGrid"]
|
||||
custom_minimum_size = Vector2(100, 100)
|
||||
layout_mode = 2
|
||||
texture_normal = SubResource("GradientTexture1D_6y6h7")
|
||||
ignore_texture_size = true
|
||||
stretch_mode = 0
|
||||
|
||||
[node name="BrownHairButton2" type="TextureButton" parent="VBoxContainer2/HairPanel/MarginContainer/HBoxContainer/HairGrid"]
|
||||
custom_minimum_size = Vector2(100, 100)
|
||||
layout_mode = 2
|
||||
texture_normal = SubResource("GradientTexture1D_uwnmi")
|
||||
ignore_texture_size = true
|
||||
stretch_mode = 0
|
||||
|
||||
[node name="RedHairButton2" type="TextureButton" parent="VBoxContainer2/HairPanel/MarginContainer/HBoxContainer/HairGrid"]
|
||||
custom_minimum_size = Vector2(100, 100)
|
||||
layout_mode = 2
|
||||
texture_normal = SubResource("GradientTexture1D_72sxj")
|
||||
ignore_texture_size = true
|
||||
stretch_mode = 0
|
||||
|
||||
[node name="BlackHairButton2" type="TextureButton" parent="VBoxContainer2/HairPanel/MarginContainer/HBoxContainer/HairGrid"]
|
||||
custom_minimum_size = Vector2(100, 100)
|
||||
layout_mode = 2
|
||||
texture_normal = SubResource("GradientTexture1D_ac3np")
|
||||
ignore_texture_size = true
|
||||
stretch_mode = 0
|
||||
|
||||
[node name="BlueHairButton2" type="TextureButton" parent="VBoxContainer2/HairPanel/MarginContainer/HBoxContainer/HairGrid"]
|
||||
custom_minimum_size = Vector2(100, 100)
|
||||
layout_mode = 2
|
||||
texture_normal = SubResource("GradientTexture1D_5l84q")
|
||||
ignore_texture_size = true
|
||||
stretch_mode = 0
|
||||
|
||||
[node name="SkinPanel" type="PanelContainer" parent="VBoxContainer2"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="VBoxContainer2/SkinPanel"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 25
|
||||
theme_override_constants/margin_top = 25
|
||||
theme_override_constants/margin_right = 25
|
||||
theme_override_constants/margin_bottom = 25
|
||||
|
||||
[node name="HBoxContainer" type="VBoxContainer" parent="VBoxContainer2/SkinPanel/MarginContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="VBoxContainer2/SkinPanel/MarginContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 48
|
||||
text = "Skin"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="HairGrid" type="GridContainer" parent="VBoxContainer2/SkinPanel/MarginContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/h_separation = 20
|
||||
theme_override_constants/v_separation = 20
|
||||
columns = 5
|
||||
|
||||
[node name="BlondHairButton" type="TextureButton" parent="VBoxContainer2/SkinPanel/MarginContainer/HBoxContainer/HairGrid"]
|
||||
custom_minimum_size = Vector2(100, 100)
|
||||
layout_mode = 2
|
||||
texture_normal = SubResource("GradientTexture1D_6y6h7")
|
||||
ignore_texture_size = true
|
||||
stretch_mode = 0
|
||||
|
||||
[node name="BrownHairButton" type="TextureButton" parent="VBoxContainer2/SkinPanel/MarginContainer/HBoxContainer/HairGrid"]
|
||||
custom_minimum_size = Vector2(100, 100)
|
||||
layout_mode = 2
|
||||
texture_normal = SubResource("GradientTexture1D_uwnmi")
|
||||
ignore_texture_size = true
|
||||
stretch_mode = 0
|
||||
|
||||
[node name="RedHairButton" type="TextureButton" parent="VBoxContainer2/SkinPanel/MarginContainer/HBoxContainer/HairGrid"]
|
||||
custom_minimum_size = Vector2(100, 100)
|
||||
layout_mode = 2
|
||||
texture_normal = SubResource("GradientTexture1D_72sxj")
|
||||
ignore_texture_size = true
|
||||
stretch_mode = 0
|
||||
|
||||
[node name="BlackHairButton" type="TextureButton" parent="VBoxContainer2/SkinPanel/MarginContainer/HBoxContainer/HairGrid"]
|
||||
custom_minimum_size = Vector2(100, 100)
|
||||
layout_mode = 2
|
||||
texture_normal = SubResource("GradientTexture1D_ac3np")
|
||||
ignore_texture_size = true
|
||||
stretch_mode = 0
|
||||
|
||||
[node name="BlueHairButton" type="TextureButton" parent="VBoxContainer2/SkinPanel/MarginContainer/HBoxContainer/HairGrid"]
|
||||
custom_minimum_size = Vector2(100, 100)
|
||||
layout_mode = 2
|
||||
texture_normal = SubResource("GradientTexture1D_5l84q")
|
||||
ignore_texture_size = true
|
||||
stretch_mode = 0
|
||||
|
||||
[node name="BlondHairButton2" type="TextureButton" parent="VBoxContainer2/SkinPanel/MarginContainer/HBoxContainer/HairGrid"]
|
||||
custom_minimum_size = Vector2(100, 100)
|
||||
layout_mode = 2
|
||||
texture_normal = SubResource("GradientTexture1D_6y6h7")
|
||||
ignore_texture_size = true
|
||||
stretch_mode = 0
|
||||
|
||||
[node name="BrownHairButton2" type="TextureButton" parent="VBoxContainer2/SkinPanel/MarginContainer/HBoxContainer/HairGrid"]
|
||||
custom_minimum_size = Vector2(100, 100)
|
||||
layout_mode = 2
|
||||
texture_normal = SubResource("GradientTexture1D_uwnmi")
|
||||
ignore_texture_size = true
|
||||
stretch_mode = 0
|
||||
|
||||
[node name="RedHairButton2" type="TextureButton" parent="VBoxContainer2/SkinPanel/MarginContainer/HBoxContainer/HairGrid"]
|
||||
custom_minimum_size = Vector2(100, 100)
|
||||
layout_mode = 2
|
||||
texture_normal = SubResource("GradientTexture1D_72sxj")
|
||||
ignore_texture_size = true
|
||||
stretch_mode = 0
|
||||
|
||||
[node name="BlackHairButton2" type="TextureButton" parent="VBoxContainer2/SkinPanel/MarginContainer/HBoxContainer/HairGrid"]
|
||||
custom_minimum_size = Vector2(100, 100)
|
||||
layout_mode = 2
|
||||
texture_normal = SubResource("GradientTexture1D_ac3np")
|
||||
ignore_texture_size = true
|
||||
stretch_mode = 0
|
||||
|
||||
[node name="BlueHairButton2" type="TextureButton" parent="VBoxContainer2/SkinPanel/MarginContainer/HBoxContainer/HairGrid"]
|
||||
custom_minimum_size = Vector2(100, 100)
|
||||
layout_mode = 2
|
||||
texture_normal = SubResource("GradientTexture1D_5l84q")
|
||||
ignore_texture_size = true
|
||||
stretch_mode = 0
|
||||
|
||||
[node name="EyePanel" type="PanelContainer" parent="VBoxContainer2"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="VBoxContainer2/EyePanel"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 25
|
||||
theme_override_constants/margin_top = 25
|
||||
theme_override_constants/margin_right = 25
|
||||
theme_override_constants/margin_bottom = 25
|
||||
|
||||
[node name="HBoxContainer" type="VBoxContainer" parent="VBoxContainer2/EyePanel/MarginContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="VBoxContainer2/EyePanel/MarginContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 48
|
||||
text = "Eye"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="HairGrid" type="GridContainer" parent="VBoxContainer2/EyePanel/MarginContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/h_separation = 20
|
||||
theme_override_constants/v_separation = 20
|
||||
columns = 5
|
||||
|
||||
[node name="BlondHairButton" type="TextureButton" parent="VBoxContainer2/EyePanel/MarginContainer/HBoxContainer/HairGrid"]
|
||||
custom_minimum_size = Vector2(100, 100)
|
||||
layout_mode = 2
|
||||
texture_normal = SubResource("GradientTexture1D_6y6h7")
|
||||
ignore_texture_size = true
|
||||
stretch_mode = 0
|
||||
|
||||
[node name="BrownHairButton" type="TextureButton" parent="VBoxContainer2/EyePanel/MarginContainer/HBoxContainer/HairGrid"]
|
||||
custom_minimum_size = Vector2(100, 100)
|
||||
layout_mode = 2
|
||||
texture_normal = SubResource("GradientTexture1D_uwnmi")
|
||||
ignore_texture_size = true
|
||||
stretch_mode = 0
|
||||
|
||||
[node name="RedHairButton" type="TextureButton" parent="VBoxContainer2/EyePanel/MarginContainer/HBoxContainer/HairGrid"]
|
||||
custom_minimum_size = Vector2(100, 100)
|
||||
layout_mode = 2
|
||||
texture_normal = SubResource("GradientTexture1D_72sxj")
|
||||
ignore_texture_size = true
|
||||
stretch_mode = 0
|
||||
|
||||
[node name="BlackHairButton" type="TextureButton" parent="VBoxContainer2/EyePanel/MarginContainer/HBoxContainer/HairGrid"]
|
||||
custom_minimum_size = Vector2(100, 100)
|
||||
layout_mode = 2
|
||||
texture_normal = SubResource("GradientTexture1D_ac3np")
|
||||
ignore_texture_size = true
|
||||
stretch_mode = 0
|
||||
|
||||
[node name="BlueHairButton" type="TextureButton" parent="VBoxContainer2/EyePanel/MarginContainer/HBoxContainer/HairGrid"]
|
||||
custom_minimum_size = Vector2(100, 100)
|
||||
layout_mode = 2
|
||||
texture_normal = SubResource("GradientTexture1D_5l84q")
|
||||
ignore_texture_size = true
|
||||
stretch_mode = 0
|
||||
|
||||
[node name="BlondHairButton2" type="TextureButton" parent="VBoxContainer2/EyePanel/MarginContainer/HBoxContainer/HairGrid"]
|
||||
custom_minimum_size = Vector2(100, 100)
|
||||
layout_mode = 2
|
||||
texture_normal = SubResource("GradientTexture1D_6y6h7")
|
||||
ignore_texture_size = true
|
||||
stretch_mode = 0
|
||||
|
||||
[node name="BrownHairButton2" type="TextureButton" parent="VBoxContainer2/EyePanel/MarginContainer/HBoxContainer/HairGrid"]
|
||||
custom_minimum_size = Vector2(100, 100)
|
||||
layout_mode = 2
|
||||
texture_normal = SubResource("GradientTexture1D_uwnmi")
|
||||
ignore_texture_size = true
|
||||
stretch_mode = 0
|
||||
|
||||
[node name="RedHairButton2" type="TextureButton" parent="VBoxContainer2/EyePanel/MarginContainer/HBoxContainer/HairGrid"]
|
||||
custom_minimum_size = Vector2(100, 100)
|
||||
layout_mode = 2
|
||||
texture_normal = SubResource("GradientTexture1D_72sxj")
|
||||
ignore_texture_size = true
|
||||
stretch_mode = 0
|
||||
|
||||
[node name="BlackHairButton2" type="TextureButton" parent="VBoxContainer2/EyePanel/MarginContainer/HBoxContainer/HairGrid"]
|
||||
custom_minimum_size = Vector2(100, 100)
|
||||
layout_mode = 2
|
||||
texture_normal = SubResource("GradientTexture1D_ac3np")
|
||||
ignore_texture_size = true
|
||||
stretch_mode = 0
|
||||
|
||||
[node name="BlueHairButton2" type="TextureButton" parent="VBoxContainer2/EyePanel/MarginContainer/HBoxContainer/HairGrid"]
|
||||
custom_minimum_size = Vector2(100, 100)
|
||||
layout_mode = 2
|
||||
texture_normal = SubResource("GradientTexture1D_5l84q")
|
||||
ignore_texture_size = true
|
||||
stretch_mode = 0
|
||||
|
||||
[connection signal="pressed" from="LeftButton" to="." method="_on_left_button_pressed"]
|
||||
[connection signal="pressed" from="UpButton" to="." method="_on_up_button_pressed"]
|
||||
[connection signal="pressed" from="DownButton" to="." method="_on_down_button_pressed"]
|
||||
[connection signal="pressed" from="RightButton" to="." method="_on_right_button_pressed"]
|
||||
[connection signal="pressed" from="VBoxContainer2/HairPanel/MarginContainer/HBoxContainer/HairGrid/BlondHairButton" to="." method="_on_color_pressed" binds= [1, "blonde"]]
|
||||
[connection signal="pressed" from="VBoxContainer2/HairPanel/MarginContainer/HBoxContainer/HairGrid/BrownHairButton" to="." method="_on_color_pressed" binds= [1, "brown"]]
|
||||
[connection signal="pressed" from="VBoxContainer2/HairPanel/MarginContainer/HBoxContainer/HairGrid/RedHairButton" to="." method="_on_color_pressed" binds= [1, "red"]]
|
||||
[connection signal="pressed" from="VBoxContainer2/HairPanel/MarginContainer/HBoxContainer/HairGrid/BlackHairButton" to="." method="_on_color_pressed" binds= [1, "black"]]
|
||||
[connection signal="pressed" from="VBoxContainer2/HairPanel/MarginContainer/HBoxContainer/HairGrid/BlueHairButton" to="." method="_on_color_pressed" binds= [1, "blue"]]
|
||||
[connection signal="pressed" from="VBoxContainer2/HairPanel/MarginContainer/HBoxContainer/HairGrid/BlondHairButton2" to="." method="_on_color_pressed" binds= [1, "blonde"]]
|
||||
[connection signal="pressed" from="VBoxContainer2/HairPanel/MarginContainer/HBoxContainer/HairGrid/BrownHairButton2" to="." method="_on_color_pressed" binds= [1, "brown"]]
|
||||
[connection signal="pressed" from="VBoxContainer2/HairPanel/MarginContainer/HBoxContainer/HairGrid/RedHairButton2" to="." method="_on_color_pressed" binds= [1, "red"]]
|
||||
[connection signal="pressed" from="VBoxContainer2/HairPanel/MarginContainer/HBoxContainer/HairGrid/BlackHairButton2" to="." method="_on_color_pressed" binds= [1, "black"]]
|
||||
[connection signal="pressed" from="VBoxContainer2/HairPanel/MarginContainer/HBoxContainer/HairGrid/BlueHairButton2" to="." method="_on_color_pressed" binds= [1, "blue"]]
|
||||
|
||||
@@ -8,15 +8,14 @@
|
||||
|
||||
[node name="QuestView" type="Panel"]
|
||||
custom_minimum_size = Vector2(375, 325)
|
||||
anchors_preset = -1
|
||||
offset_left = 12.0
|
||||
offset_right = 387.0
|
||||
offset_right = 375.0
|
||||
offset_bottom = 325.0
|
||||
script = ExtResource("1_gmxj1")
|
||||
|
||||
[node name="Setting" type="Control" parent="."]
|
||||
clip_contents = true
|
||||
layout_mode = 1
|
||||
anchors_preset = 0
|
||||
offset_right = 375.0
|
||||
offset_bottom = 325.0
|
||||
|
||||
@@ -31,7 +30,6 @@ autoscroll = Vector2(-30, 0)
|
||||
ignore_camera_scroll = true
|
||||
|
||||
[node name="Background" type="TextureRect" parent="Setting/Control/StageParallax"]
|
||||
anchors_preset = -1
|
||||
offset_top = -50.0
|
||||
offset_right = 750.0
|
||||
offset_bottom = 375.0
|
||||
@@ -45,7 +43,6 @@ ignore_camera_scroll = true
|
||||
|
||||
[node name="Background" type="TextureRect" parent="Setting/Control/StageParallax3"]
|
||||
modulate = Color(1.179842, 1.179842, 1.179842, 1)
|
||||
anchors_preset = -1
|
||||
offset_right = 750.0
|
||||
offset_bottom = 425.0
|
||||
texture = ExtResource("3_dvgqk")
|
||||
@@ -56,7 +53,6 @@ autoscroll = Vector2(-45, 0)
|
||||
ignore_camera_scroll = true
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="Setting/Control/BackgroundParallax"]
|
||||
anchors_preset = -1
|
||||
offset_top = -50.0
|
||||
offset_right = 475.0
|
||||
offset_bottom = 375.0
|
||||
@@ -68,7 +64,6 @@ autoscroll = Vector2(-45, 0)
|
||||
ignore_camera_scroll = true
|
||||
|
||||
[node name="Foreground" type="TextureRect" parent="Setting/Control/StageParallax2"]
|
||||
anchors_preset = -1
|
||||
offset_top = -50.0
|
||||
offset_right = 750.0
|
||||
offset_bottom = 375.0
|
||||
@@ -83,7 +78,39 @@ offset_bottom = 276.0
|
||||
|
||||
[node name="QuestorPosition" type="Control" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 0
|
||||
offset_left = 89.0
|
||||
offset_top = 272.0
|
||||
offset_right = 89.0
|
||||
offset_bottom = 272.0
|
||||
|
||||
[node name="QuestComplete" type="Control" parent="."]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
z_index = 10
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="ColorRect" type="ColorRect" parent="QuestComplete"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
color = Color(0, 0, 0, 0.42352942)
|
||||
|
||||
[node name="Label" type="Label" parent="QuestComplete"]
|
||||
layout_mode = 0
|
||||
offset_left = 1.0
|
||||
offset_top = 119.0
|
||||
offset_right = 376.0
|
||||
offset_bottom = 238.0
|
||||
theme_override_font_sizes/font_size = 42
|
||||
text = "QUEST
|
||||
COMPLETE!"
|
||||
horizontal_alignment = 1
|
||||
|
||||
Reference in New Issue
Block a user