203 lines
6.9 KiB
Plaintext
203 lines
6.9 KiB
Plaintext
[gd_scene load_steps=13 format=3 uid="uid://b3hw4w5shpyu0"]
|
|
|
|
[ext_resource type="Script" path="res://scene/event.gd" id="1_cpmb4"]
|
|
[ext_resource type="Texture2D" uid="uid://ctfm87nw7xemy" path="res://res/ui/ui_020_event/tuceng1.png" id="1_u31m8"]
|
|
[ext_resource type="Texture2D" uid="uid://cst6mgs75xl26" path="res://res/ui/ui_020_event/tuceng306.png" id="2_25k7b"]
|
|
[ext_resource type="Shader" path="res://res/shader/blur.gdshader" id="2_l482b"]
|
|
[ext_resource type="Texture2D" uid="uid://cs3e62bxuf5e0" path="res://res/ui/ui_020_event/juxing599.png" id="3_wfu8f"]
|
|
[ext_resource type="Texture2D" uid="uid://li8e5ntlgcpg" path="res://res/ui/ui_003_select/test.png" id="3_xsoi1"]
|
|
[ext_resource type="Texture2D" uid="uid://bjbr8rt4h00c1" path="res://res/ui/ui_020_event/tuceng305.png" id="4_tkp1l"]
|
|
[ext_resource type="PackedScene" uid="uid://lleg0undaq1q" path="res://scene/event_choice_button.tscn" id="7_o3va1"]
|
|
|
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_2da64"]
|
|
shader = ExtResource("2_l482b")
|
|
shader_parameter/power = 0.8
|
|
shader_parameter/up = 0.0
|
|
shader_parameter/down = 0.0
|
|
shader_parameter/left = 1.0
|
|
shader_parameter/right = 0.0
|
|
shader_parameter/up_clip = 0.0
|
|
shader_parameter/down_clip = 0.0
|
|
shader_parameter/left_clip = 0.0
|
|
shader_parameter/right_clip = 0.0
|
|
|
|
[sub_resource type="Animation" id="Animation_e8sku"]
|
|
length = 0.001
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("MarginContainer:modulate")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [Color(0.454524, 0.454524, 0.454524, 1)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_vvm5c"]
|
|
resource_name = "open"
|
|
length = 0.5
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("MarginContainer:modulate")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 0.5),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [Color(0.454524, 0.454524, 0.454524, 1), Color(1, 1, 1, 1)]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_526vg"]
|
|
_data = {
|
|
"RESET": SubResource("Animation_e8sku"),
|
|
"open": SubResource("Animation_vvm5c")
|
|
}
|
|
|
|
[node name="event" type="Control"]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
script = ExtResource("1_cpmb4")
|
|
|
|
[node name="ColorRect" type="ColorRect" parent="."]
|
|
visible = false
|
|
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.384314)
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = -1
|
|
anchor_left = 0.0520833
|
|
anchor_top = 0.0925926
|
|
anchor_right = 0.947917
|
|
anchor_bottom = 0.907407
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
texture = ExtResource("1_u31m8")
|
|
expand_mode = 1
|
|
stretch_mode = 6
|
|
metadata/_edit_use_anchors_ = true
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="."]
|
|
modulate = Color(0.454524, 0.454524, 0.454524, 1)
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_constants/margin_left = 100
|
|
theme_override_constants/margin_top = 100
|
|
theme_override_constants/margin_right = 100
|
|
theme_override_constants/margin_bottom = 100
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer"]
|
|
show_behind_parent = true
|
|
layout_mode = 2
|
|
|
|
[node name="event_texture" type="TextureRect" parent="MarginContainer/HBoxContainer"]
|
|
show_behind_parent = true
|
|
material = SubResource("ShaderMaterial_2da64")
|
|
layout_mode = 2
|
|
size_flags_horizontal = 10
|
|
texture = ExtResource("3_xsoi1")
|
|
expand_mode = 3
|
|
stretch_mode = 4
|
|
|
|
[node name="NinePatchRect" type="NinePatchRect" parent="MarginContainer"]
|
|
layout_mode = 2
|
|
texture = ExtResource("2_25k7b")
|
|
patch_margin_left = 3
|
|
patch_margin_top = 3
|
|
patch_margin_right = 3
|
|
patch_margin_bottom = 3
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="MarginContainer/NinePatchRect"]
|
|
layout_mode = 0
|
|
anchor_right = 0.649563
|
|
anchor_bottom = 0.100899
|
|
offset_right = -1150.0
|
|
offset_bottom = -61.0
|
|
texture = ExtResource("3_wfu8f")
|
|
metadata/_edit_use_anchors_ = true
|
|
|
|
[node name="event_name" type="Label" parent="MarginContainer/NinePatchRect/TextureRect"]
|
|
layout_mode = 0
|
|
anchor_left = 0.102521
|
|
anchor_right = 0.860504
|
|
anchor_bottom = 1.0
|
|
theme_override_colors/font_color = Color(0, 0, 0, 1)
|
|
theme_override_font_sizes/font_size = 54
|
|
text = "事件名字"
|
|
vertical_alignment = 1
|
|
metadata/_edit_use_anchors_ = true
|
|
|
|
[node name="TextureRect2" type="TextureRect" parent="MarginContainer/NinePatchRect"]
|
|
layout_mode = 0
|
|
offset_left = -23.0
|
|
offset_top = -26.0
|
|
offset_right = 122.0
|
|
offset_bottom = 134.0
|
|
texture = ExtResource("4_tkp1l")
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/NinePatchRect"]
|
|
layout_mode = 1
|
|
anchors_preset = -1
|
|
anchor_left = 0.0319767
|
|
anchor_top = 0.152273
|
|
anchor_right = 0.465116
|
|
anchor_bottom = 1.0
|
|
metadata/_edit_use_anchors_ = true
|
|
|
|
[node name="event_intro" type="Label" parent="MarginContainer/NinePatchRect/VBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 0
|
|
theme_override_font_sizes/font_size = 32
|
|
text = "事件描述事件描述事件描述事件描述事件描述事件描述事件描述事件描述事件描述事件描述事件描述事件描述事件描述事件描述事件描述事件描述事件描述事件描述事件描述事件描述事件描述事件描述事件描述事件描述事件描述事件描述事件描述事件描述事件描述事件描述事件描述事件描述事件描述事件描述事件描述事件描述事件描述事件描述事件描述事件描述事件描述事件描述事件描述事件描述"
|
|
autowrap_mode = 3
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/NinePatchRect/VBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 2
|
|
|
|
[node name="tab" type="Control" parent="MarginContainer/NinePatchRect/VBoxContainer/VBoxContainer"]
|
|
custom_minimum_size = Vector2(0, 47.975)
|
|
layout_mode = 2
|
|
|
|
[node name="choice_add_pos" type="VBoxContainer" parent="MarginContainer/NinePatchRect/VBoxContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 36
|
|
|
|
[node name="event_choice_button" parent="MarginContainer/NinePatchRect/VBoxContainer/VBoxContainer/choice_add_pos" instance=ExtResource("7_o3va1")]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
|
|
[node name="event_choice_button2" parent="MarginContainer/NinePatchRect/VBoxContainer/VBoxContainer/choice_add_pos" instance=ExtResource("7_o3va1")]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
|
|
[node name="event_choice_button3" parent="MarginContainer/NinePatchRect/VBoxContainer/VBoxContainer/choice_add_pos" instance=ExtResource("7_o3va1")]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
|
libraries = {
|
|
"": SubResource("AnimationLibrary_526vg")
|
|
}
|
|
|
|
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
|
|
bus = &"Effect"
|