D5/UI/popup/dialogue.tscn
2025-05-16 21:50:18 +08:00

195 lines
4.9 KiB
Plaintext

[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(500, 44)
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -250.0
offset_top = -203.0
offset_right = 250.0
offset_bottom = -159.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 = -40.5
offset_top = -11.7813
offset_right = 40.5
offset_bottom = 15.7813
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 = 27
text = "对话框"
[node name="Part_2" type="NinePatchRect" parent="."]
custom_minimum_size = Vector2(500, 310)
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -250.0
offset_top = -159.0
offset_right = 250.0
offset_bottom = 151.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(460, 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 = -230.0
offset_top = -135.0
offset_right = 230.0
offset_bottom = 98.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 = -206.0
offset_top = -96.5
offset_right = 208.0
offset_bottom = 83.5
grow_horizontal = 2
grow_vertical = 2
theme_override_colors/font_color = Color(0, 0, 0, 1)
theme_override_constants/line_spacing = 7
theme_override_fonts/font = ExtResource("3_ilhgc")
theme_override_font_sizes/font_size = 20
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
stretch_mode = 5