challenge-editor/scene/single_identification.tscn

448 lines
13 KiB
Plaintext
Raw Normal View History

2024-10-05 20:51:00 +08:00
[gd_scene load_steps=25 format=3 uid="uid://mcf2riinvukc"]
2024-09-14 17:36:48 +08:00
2024-10-05 18:44:58 +08:00
[ext_resource type="Script" path="res://scene/single_identification.gd" id="1_kaw2b"]
2024-09-14 17:36:48 +08:00
[ext_resource type="Texture2D" uid="uid://bchvegwghynrm" path="res://res/ui/ui_002_main/tuceng1.png" id="1_lrfk0"]
[ext_resource type="Texture2D" uid="uid://wc3yoxb1yg0m" path="res://res/ui/ui_027_single_identification/tuceng328.png" id="2_is720"]
[ext_resource type="Texture2D" uid="uid://dwje57tlgo16q" path="res://res/ui/ui_027_single_identification/tuceng334.png" id="3_22rov"]
[ext_resource type="Shader" path="res://res/shader/blur.gdshader" id="4_aanmi"]
[ext_resource type="Texture2D" uid="uid://li8e5ntlgcpg" path="res://res/ui/ui_003_select/test.png" id="4_rpp44"]
[ext_resource type="Texture2D" uid="uid://c3fd4gn03vnmq" path="res://res/ui/ui_027_single_identification/yuanjiaojuxing878.png" id="6_i15ig"]
[ext_resource type="Texture2D" uid="uid://diqfr63olbr0i" path="res://res/ui/ui_027_single_identification/yuanjiaojuxing986.png" id="7_0vivs"]
[ext_resource type="PackedScene" uid="uid://bdlo2wn4qnygv" path="res://scene/tool/tool_button.tscn" id="8_46oym"]
[ext_resource type="Texture2D" uid="uid://gbchrr1gvsy" path="res://res/ui/ui_027_single_identification/yuanjianjuxing878_1.png" id="9_s8bl5"]
[ext_resource type="Texture2D" uid="uid://b6jytbljm6rhh" path="res://res/ui/ui_027_single_identification/juxing505.png" id="10_5pymr"]
[ext_resource type="Texture2D" uid="uid://dqblinc483656" path="res://res/ui/ui_028_multi_indetification_pre/yuanjiaojuxing986.png" id="10_g75hy"]
[ext_resource type="Texture2D" uid="uid://dayrdgr2hgamx" path="res://res/ui/ui_028_multi_indetification_pre/yuanjiaojuxing901.png" id="11_dj8rc"]
[ext_resource type="PackedScene" uid="uid://2n4wq8llgbib" path="res://scene/single_identification_card.tscn" id="11_qtaae"]
2024-10-05 18:44:58 +08:00
[ext_resource type="PackedScene" uid="uid://cya850fofki0o" path="res://scene/multi_indetification.tscn" id="14_yjjpp"]
2024-10-05 20:51:00 +08:00
[ext_resource type="Texture2D" uid="uid://bbamxd1q6qwkd" path="res://res/ui/ui_001_start/button_0.png" id="16_nbuwj"]
2024-09-14 17:36:48 +08:00
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_meexh"]
texture = ExtResource("2_is720")
texture_margin_left = 64.8436
texture_margin_top = 75.2186
texture_margin_right = 57.0624
texture_margin_bottom = 49.2811
[sub_resource type="ShaderMaterial" id="ShaderMaterial_nxek8"]
shader = ExtResource("4_aanmi")
shader_parameter/power = 1.0
shader_parameter/up = 0.1
shader_parameter/down = 0.1
shader_parameter/left = 0.1
shader_parameter/right = 0.1
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="StyleBoxTexture" id="StyleBoxTexture_kytfg"]
texture = ExtResource("11_dj8rc")
texture_margin_left = 41.8733
texture_margin_right = 43.4838
texture_margin_bottom = 3.8147e-06
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_vplyr"]
texture = ExtResource("10_5pymr")
2024-10-05 20:51:00 +08:00
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_6ydwt"]
content_margin_left = 82.0
content_margin_top = 26.0
content_margin_right = 97.0
content_margin_bottom = 7.0
texture = ExtResource("16_nbuwj")
2024-10-08 17:01:28 +08:00
[sub_resource type="Animation" id="Animation_d6bed"]
length = 0.001
2024-10-05 20:51:00 +08:00
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("card_show:modulate")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
2024-10-08 17:01:28 +08:00
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
2024-10-05 20:51:00 +08:00
"update": 0,
2024-10-08 17:01:28 +08:00
"values": [Color(1, 1, 1, 0)]
2024-10-05 20:51:00 +08:00
}
2024-10-08 17:01:28 +08:00
[sub_resource type="Animation" id="Animation_7g1t6"]
resource_name = "show_card"
length = 0.25
2024-10-05 20:51:00 +08:00
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("card_show:modulate")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
2024-10-08 17:01:28 +08:00
"times": PackedFloat32Array(0, 0.25),
"transitions": PackedFloat32Array(1, 1),
2024-10-05 20:51:00 +08:00
"update": 0,
2024-10-08 17:01:28 +08:00
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1)]
2024-10-05 20:51:00 +08:00
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_bx88s"]
_data = {
"RESET": SubResource("Animation_d6bed"),
"show_card": SubResource("Animation_7g1t6")
}
2024-09-14 17:36:48 +08:00
[node name="single_identification" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
2024-10-05 18:44:58 +08:00
script = ExtResource("1_kaw2b")
2024-09-14 17:36:48 +08:00
[node name="TextureRect" type="TextureRect" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("1_lrfk0")
expand_mode = 1
stretch_mode = 6
[node name="single" type="Panel" parent="."]
2024-10-05 20:51:00 +08:00
unique_name_in_owner = true
2024-09-14 17:36:48 +08:00
visible = false
layout_mode = 1
anchors_preset = -1
anchor_left = 0.257813
anchor_top = 0.114815
anchor_right = 0.73125
anchor_bottom = 0.597222
theme_override_styles/panel = SubResource("StyleBoxTexture_meexh")
metadata/_edit_use_anchors_ = true
[node name="Label" type="Label" parent="single"]
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -213.5
offset_right = 217.5
offset_bottom = 75.0
grow_horizontal = 2
theme_override_colors/font_color = Color(0, 0, 0, 1)
theme_override_font_sizes/font_size = 35
text = "XX鉴定"
horizontal_alignment = 1
vertical_alignment = 1
[node name="TextureRect" type="TextureRect" parent="single"]
show_behind_parent = true
clip_children = 2
layout_mode = 0
anchor_top = 0.0662252
anchor_right = 1.0
anchor_bottom = 1.0
texture = ExtResource("3_22rov")
expand_mode = 1
metadata/_edit_use_anchors_ = true
[node name="TextureRect" type="TextureRect" parent="single/TextureRect"]
material = SubResource("ShaderMaterial_nxek8")
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("4_rpp44")
expand_mode = 1
stretch_mode = 6
[node name="TextureRect2" type="TextureRect" parent="single"]
layout_mode = 1
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
offset_left = -31.0
offset_top = -54.0
offset_right = 264.0
offset_bottom = 53.0
grow_vertical = 0
texture = ExtResource("6_i15ig")
2024-10-05 20:51:00 +08:00
[node name="indetification_value" type="Label" parent="single/TextureRect2"]
unique_name_in_owner = true
2024-09-14 17:36:48 +08:00
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_font_sizes/font_size = 28
text = "鉴定值999"
horizontal_alignment = 1
vertical_alignment = 1
[node name="TextureRect3" type="TextureRect" parent="single"]
layout_mode = 1
anchors_preset = 7
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = -95.5
offset_top = -54.0
offset_right = 103.5
offset_bottom = 31.0
grow_horizontal = 2
grow_vertical = 0
texture = ExtResource("7_0vivs")
[node name="Label" type="Label" parent="single/TextureRect3"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_font_sizes/font_size = 28
text = "确定"
horizontal_alignment = 1
vertical_alignment = 1
2024-10-05 20:51:00 +08:00
[node name="single_start" parent="single/TextureRect3" instance=ExtResource("8_46oym")]
2024-09-14 17:36:48 +08:00
layout_mode = 1
[node name="TextureRect4" type="TextureRect" parent="single"]
layout_mode = 1
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -268.0
offset_top = -54.0
offset_right = 26.0
offset_bottom = 52.0
grow_horizontal = 0
grow_vertical = 0
texture = ExtResource("9_s8bl5")
2024-10-05 20:51:00 +08:00
[node name="difficulti_value" type="Label" parent="single/TextureRect4"]
unique_name_in_owner = true
2024-09-14 17:36:48 +08:00
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_font_sizes/font_size = 28
text = "难度20-100"
horizontal_alignment = 1
vertical_alignment = 1
[node name="multi_pre" type="Panel" parent="."]
2024-10-05 20:51:00 +08:00
unique_name_in_owner = true
2024-09-14 17:36:48 +08:00
layout_mode = 1
anchors_preset = -1
anchor_left = 0.257813
anchor_top = 0.0833333
anchor_right = 0.73125
anchor_bottom = 0.565741
theme_override_styles/panel = SubResource("StyleBoxTexture_meexh")
metadata/_edit_use_anchors_ = true
[node name="Label" type="Label" parent="multi_pre"]
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -213.5
offset_right = 217.5
offset_bottom = 75.0
grow_horizontal = 2
theme_override_colors/font_color = Color(0, 0, 0, 1)
theme_override_font_sizes/font_size = 35
text = "事件前准备"
horizontal_alignment = 1
vertical_alignment = 1
[node name="TextureRect" type="TextureRect" parent="multi_pre"]
show_behind_parent = true
clip_children = 2
layout_mode = 0
anchor_top = 0.0662252
anchor_right = 1.0
anchor_bottom = 1.0
texture = ExtResource("3_22rov")
expand_mode = 1
metadata/_edit_use_anchors_ = true
[node name="TextureRect" type="TextureRect" parent="multi_pre/TextureRect"]
material = SubResource("ShaderMaterial_nxek8")
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("4_rpp44")
expand_mode = 1
stretch_mode = 6
[node name="TextureRect3" type="TextureRect" parent="multi_pre"]
layout_mode = 1
anchors_preset = 7
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = -95.5
offset_top = -86.0
offset_right = 103.5
offset_bottom = -1.0
grow_horizontal = 2
grow_vertical = 0
texture = ExtResource("10_g75hy")
[node name="Label" type="Label" parent="multi_pre/TextureRect3"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_font_sizes/font_size = 28
text = "确定"
horizontal_alignment = 1
vertical_alignment = 1
2024-10-05 20:51:00 +08:00
[node name="multi_start" parent="multi_pre/TextureRect3" instance=ExtResource("8_46oym")]
2024-09-14 17:36:48 +08:00
layout_mode = 1
[node name="HBoxContainer" type="HBoxContainer" parent="multi_pre"]
layout_mode = 1
anchors_preset = 7
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = -447.5
offset_top = 12.0
offset_right = 461.5
offset_bottom = 99.0
grow_horizontal = 2
grow_vertical = 0
[node name="PanelContainer" type="PanelContainer" parent="multi_pre/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 6
theme_override_styles/panel = SubResource("StyleBoxTexture_kytfg")
[node name="Label" type="Label" parent="multi_pre/HBoxContainer/PanelContainer"]
layout_mode = 2
theme_override_colors/font_color = Color(0, 0, 0, 1)
theme_override_font_sizes/font_size = 33
text = "推荐属性:力量,敏捷,感知,幸运"
[node name="Panel2" type="Panel" parent="."]
layout_mode = 0
anchor_left = 0.0171875
anchor_top = 0.815741
anchor_right = 0.983854
anchor_bottom = 0.969444
theme_override_styles/panel = SubResource("StyleBoxTexture_vplyr")
metadata/_edit_use_anchors_ = true
2024-10-05 20:51:00 +08:00
[node name="card_add_pos" type="HBoxContainer" parent="Panel2"]
unique_name_in_owner = true
2024-09-14 17:36:48 +08:00
layout_mode = 1
anchors_preset = -1
anchor_left = 0.00107759
anchor_top = -0.921687
anchor_right = 1.00108
anchor_bottom = 0.957831
offset_right = 0.00012207
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/separation = 18
metadata/_edit_use_anchors_ = true
2024-10-05 20:51:00 +08:00
[node name="single_identification_card" parent="Panel2/card_add_pos" instance=ExtResource("11_qtaae")]
2024-09-14 17:36:48 +08:00
layout_mode = 2
2024-10-05 20:51:00 +08:00
[node name="multi_indetification" parent="." instance=ExtResource("14_yjjpp")]
unique_name_in_owner = true
visible = false
layout_mode = 1
2024-09-14 17:36:48 +08:00
2024-10-05 20:51:00 +08:00
[node name="card_show" parent="." instance=ExtResource("11_qtaae")]
unique_name_in_owner = true
visible = false
modulate = Color(1, 1, 1, 0)
layout_mode = 1
anchors_preset = -1
anchor_left = 0.392188
anchor_top = 0.182407
anchor_right = 0.564062
anchor_bottom = 0.686817
offset_right = 0.0
offset_bottom = 0.0
metadata/_edit_use_anchors_ = true
2024-09-14 17:36:48 +08:00
2024-10-05 20:51:00 +08:00
[node name="ToolButton" parent="card_show" index="3"]
disabled = true
2024-09-14 17:36:48 +08:00
2024-10-05 20:51:00 +08:00
[node name="accept" type="Button" parent="card_show"]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = -1
anchor_left = -0.406061
anchor_top = 1.00044
anchor_right = 0.439394
anchor_bottom = 1.18767
size_flags_horizontal = 4
size_flags_vertical = 4
focus_mode = 0
theme_override_font_sizes/font_size = 50
theme_override_styles/hover = SubResource("StyleBoxTexture_6ydwt")
theme_override_styles/pressed = SubResource("StyleBoxTexture_6ydwt")
theme_override_styles/normal = SubResource("StyleBoxTexture_6ydwt")
text = "投入"
icon_alignment = 1
metadata/_edit_use_anchors_ = true
2024-10-05 18:44:58 +08:00
2024-10-05 20:51:00 +08:00
[node name="refuse" type="Button" parent="card_show"]
2024-10-05 18:44:58 +08:00
unique_name_in_owner = true
layout_mode = 1
2024-10-05 20:51:00 +08:00
anchors_preset = -1
anchor_left = 0.642424
anchor_top = 1.00044
anchor_right = 1.48788
anchor_bottom = 1.18767
size_flags_horizontal = 4
size_flags_vertical = 4
focus_mode = 0
theme_override_font_sizes/font_size = 50
theme_override_styles/hover = SubResource("StyleBoxTexture_6ydwt")
theme_override_styles/pressed = SubResource("StyleBoxTexture_6ydwt")
theme_override_styles/normal = SubResource("StyleBoxTexture_6ydwt")
text = "取消"
icon_alignment = 1
metadata/_edit_use_anchors_ = true
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
unique_name_in_owner = true
libraries = {
"": SubResource("AnimationLibrary_bx88s")
}
[connection signal="pressed" from="single/TextureRect3/single_start" to="." method="_on_single_start_pressed"]
[connection signal="pressed" from="multi_pre/TextureRect3/multi_start" to="." method="_on_multi_start_pressed"]
[connection signal="finish" from="multi_indetification" to="." method="_on_multi_indetification_finish"]
[connection signal="pressed" from="card_show/accept" to="." method="_on_accept_pressed"]
[connection signal="pressed" from="card_show/refuse" to="." method="_on_refuse_pressed"]
[editable path="card_show"]