[gd_scene load_steps=7 format=3 uid="uid://dtywh0m5odikx"]

[ext_resource type="Script" uid="uid://dml4o41teef7h" path="res://UI/popup/dialogue.gd" id="1_ilhgc"]
[ext_resource type="Texture2D" uid="uid://pucudatqrcrq" path="res://UI/popup/popup_bg_1.png" id="2_ilhgc"]
[ext_resource type="FontFile" uid="uid://egugs822n8gr" path="res://UI/font/AlimamaFangYuanTiVF-Thin.ttf" id="3_ilhgc"]

[sub_resource type="Animation" id="Animation_ilhgc"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("hint:visible")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [true]
}

[sub_resource type="Animation" id="Animation_3yfgj"]
resource_name = "base"
loop_mode = 1
step = 0.5
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("hint:visible")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.5, 1),
"transitions": PackedFloat32Array(1, 1, 1),
"update": 1,
"values": [true, false, true]
}

[sub_resource type="AnimationLibrary" id="AnimationLibrary_nrcga"]
_data = {
&"RESET": SubResource("Animation_ilhgc"),
&"base": SubResource("Animation_3yfgj")
}

[node name="dialogue" type="Control" groups=["dialogue"]]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_ilhgc")

[node name="Part_1" type="NinePatchRect" parent="."]
custom_minimum_size = Vector2(360, 40)
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -180.0
offset_top = -159.0
offset_right = 180.0
offset_bottom = -119.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("2_ilhgc")
region_rect = Rect2(1, 27, 86, 8)
patch_margin_left = 8
patch_margin_top = 7
patch_margin_right = 8
patch_margin_bottom = 6

[node name="Title" type="Label" parent="Part_1"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -27.0
offset_top = -13.0
offset_right = 27.0
offset_bottom = 13.0
grow_horizontal = 2
grow_vertical = 2
theme_override_colors/font_color = Color(0, 0, 0, 1)
theme_override_fonts/font = ExtResource("3_ilhgc")
theme_override_font_sizes/font_size = 22
text = "对话框"

[node name="Part_2" type="NinePatchRect" parent="."]
custom_minimum_size = Vector2(360, 200)
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -180.0
offset_top = -119.0
offset_right = 180.0
offset_bottom = 81.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("2_ilhgc")
region_rect = Rect2(1, 35, 86, 53)
patch_margin_left = 8
patch_margin_top = 35
patch_margin_right = 8
patch_margin_bottom = 32

[node name="Part_3" type="NinePatchRect" parent="Part_2"]
custom_minimum_size = Vector2(320, 100)
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -140.0
offset_top = -88.0
offset_right = 140.0
offset_bottom = 52.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("2_ilhgc")
region_rect = Rect2(171, 38, 76, 37)
patch_margin_left = 2
patch_margin_top = 32
patch_margin_right = 42
patch_margin_bottom = 33

[node name="Label" type="Label" parent="Part_2/Part_3"]
custom_minimum_size = Vector2(280, 0)
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -131.0
offset_top = -57.0
offset_right = 129.0
offset_bottom = 53.0
grow_horizontal = 2
grow_vertical = 2
theme_override_colors/font_color = Color(0, 0, 0, 1)
theme_override_fonts/font = ExtResource("3_ilhgc")
theme_override_font_sizes/font_size = 18
text = "游戏杂志最新刊已发行。游戏杂志最新刊已发行。游戏杂志最新刊已发行。游戏杂志最新刊已发行。游戏杂志最新刊已发行。"
autowrap_mode = 1

[node name="hint" type="NinePatchRect" parent="Part_2/Part_3"]
modulate = Color(0, 0, 0, 1)
custom_minimum_size = Vector2(5, 5)
layout_mode = 1
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -26.0
offset_top = -5.5
offset_right = -21.0
offset_bottom = -0.5
grow_horizontal = 0
grow_vertical = 0
rotation = -1.5708
texture = ExtResource("2_ilhgc")
region_rect = Rect2(10, 2, 11, 20)

[node name="AnimationPlayer" type="AnimationPlayer" parent="Part_2/Part_3"]
libraries = {
&"": SubResource("AnimationLibrary_nrcga")
}
autoplay = "base"

[node name="npc_icon" type="TextureRect" parent="Part_2"]
layout_mode = 1
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -56.0
offset_top = -49.0
offset_right = -11.0
offset_bottom = -4.0
grow_horizontal = 0
grow_vertical = 0
