challenge-editor/scene/character_bag.tscn
2024-09-27 17:51:20 +08:00

327 lines
12 KiB
Plaintext

[gd_scene load_steps=21 format=3 uid="uid://cgl1vcdusqroq"]
[ext_resource type="Texture2D" uid="uid://bxbwbvgbfntiv" path="res://res/ui/ui_004_character_bag/tuceng1.png" id="1_688g7"]
[ext_resource type="Script" path="res://scene/character_bag.gd" id="1_e5f2o"]
[ext_resource type="Texture2D" uid="uid://bt5qrcsynsp6j" path="res://res/ui/ui_004_character_bag/tuceng231.png" id="2_bq8dd"]
[ext_resource type="Texture2D" uid="uid://bi4qd4hkdm4wb" path="res://res/ui/ui_004_character_bag/tuceng35.png" id="3_m44x5"]
[ext_resource type="Texture2D" uid="uid://blv4q1cix0hu0" path="res://res/ui/ui_004_character_bag/tuceng42.png" id="4_us8ay"]
[ext_resource type="Texture2D" uid="uid://cxo6pmp6bo4nf" path="res://res/ui/ui_004_character_bag/tuceng43.png" id="6_gxmw5"]
[ext_resource type="PackedScene" uid="uid://bdlo2wn4qnygv" path="res://scene/tool/tool_button.tscn" id="7_6v0oc"]
[ext_resource type="Texture2D" uid="uid://13ed8w6scsgo" path="res://res/ui/ui_004_character_bag/tuceng38.png" id="7_piio5"]
[ext_resource type="Texture2D" uid="uid://ddwgjg72ivkwn" path="res://res/ui/ui_004_character_bag/tuceng39.png" id="8_pn6mv"]
[ext_resource type="Texture2D" uid="uid://p68ycyicgxxe" path="res://res/ui/ui_004_character_bag/tuceng40.png" id="9_tg2kw"]
[ext_resource type="StyleBox" uid="uid://bwf0mbjhm621" path="res://res/ui/ui_004_character_bag/character_bag_selected.tres" id="10_642jd"]
[ext_resource type="Texture2D" uid="uid://bq23yis2bwf3d" path="res://res/ui/ui_004_character_bag/tuceng41.png" id="10_ijoj6"]
[ext_resource type="PackedScene" uid="uid://chh7gr3qbkr8u" path="res://scene/basic_message.tscn" id="13_lbwxs"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_7x5v6"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_yu86v"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_n7qmw"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_xo627"]
[sub_resource type="Animation" id="Animation_7n3j6"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("basic_mes:visible")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [false]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("basic_mes:modulate")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Color(1, 1, 1, 0)]
}
[sub_resource type="Animation" id="Animation_acbpg"]
resource_name = "open_mes"
length = 0.2
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("basic_mes:visible")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [true]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("basic_mes:modulate")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0, 0.2),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_8pf4e"]
_data = {
"RESET": SubResource("Animation_7n3j6"),
"open_mes": SubResource("Animation_acbpg")
}
[node name="Control" 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_e5f2o")
[node name="back" 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_688g7")
expand_mode = 1
stretch_mode = 6
[node name="back_texture" type="TextureRect" parent="."]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.00677083
anchor_top = 0.0138889
anchor_right = 0.00677083
anchor_bottom = 0.014
offset_right = 117.0
offset_bottom = 74.88
texture = ExtResource("2_bq8dd")
[node name="back_btn" parent="back_texture" instance=ExtResource("7_6v0oc")]
layout_mode = 1
[node name="NinePatchRect" type="NinePatchRect" parent="."]
layout_mode = 0
anchor_left = 0.025
anchor_top = 0.087037
anchor_right = 0.842188
anchor_bottom = 0.977778
texture = ExtResource("3_m44x5")
patch_margin_left = 34
patch_margin_top = 34
patch_margin_bottom = 34
metadata/_edit_use_anchors_ = true
[node name="MarginContainer" type="MarginContainer" parent="NinePatchRect"]
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 = 34
theme_override_constants/margin_top = 34
theme_override_constants/margin_bottom = 34
[node name="ScrollContainer" type="ScrollContainer" parent="NinePatchRect/MarginContainer"]
layout_mode = 2
horizontal_scroll_mode = 0
vertical_scroll_mode = 3
[node name="card_add_pos" type="HFlowContainer" parent="NinePatchRect/MarginContainer/ScrollContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 0
[node name="NinePatchRect2" type="NinePatchRect" parent="."]
layout_mode = 0
anchor_left = 0.839063
anchor_top = 0.0990741
anchor_right = 0.969792
anchor_bottom = 0.95463
texture = ExtResource("4_us8ay")
metadata/_edit_use_anchors_ = true
[node name="MarginContainer" type="MarginContainer" parent="NinePatchRect2"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/margin_top = 20
theme_override_constants/margin_bottom = 20
[node name="VBoxContainer" type="VBoxContainer" parent="NinePatchRect2/MarginContainer"]
layout_mode = 2
[node name="PanelContainer" type="PanelContainer" parent="NinePatchRect2/MarginContainer/VBoxContainer"]
custom_minimum_size = Vector2(0, 100)
layout_mode = 2
size_flags_vertical = 0
theme_override_styles/panel = ExtResource("10_642jd")
[node name="HBoxContainer" type="HBoxContainer" parent="NinePatchRect2/MarginContainer/VBoxContainer/PanelContainer"]
layout_mode = 2
[node name="TextureRect" type="TextureRect" parent="NinePatchRect2/MarginContainer/VBoxContainer/PanelContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 8
size_flags_stretch_ratio = 2.0
texture = ExtResource("6_gxmw5")
stretch_mode = 5
[node name="Label" type="Label" parent="NinePatchRect2/MarginContainer/VBoxContainer/PanelContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 2
size_flags_vertical = 8
size_flags_stretch_ratio = 3.0
theme_override_font_sizes/font_size = 34
text = "全部"
[node name="all" parent="NinePatchRect2/MarginContainer/VBoxContainer/PanelContainer" instance=ExtResource("7_6v0oc")]
layout_mode = 2
[node name="PanelContainer2" type="PanelContainer" parent="NinePatchRect2/MarginContainer/VBoxContainer"]
custom_minimum_size = Vector2(0, 100)
layout_mode = 2
theme_override_styles/panel = SubResource("StyleBoxEmpty_7x5v6")
[node name="HBoxContainer2" type="HBoxContainer" parent="NinePatchRect2/MarginContainer/VBoxContainer/PanelContainer2"]
layout_mode = 2
[node name="TextureRect" type="TextureRect" parent="NinePatchRect2/MarginContainer/VBoxContainer/PanelContainer2/HBoxContainer2"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_stretch_ratio = 2.0
texture = ExtResource("7_piio5")
stretch_mode = 5
[node name="Label" type="Label" parent="NinePatchRect2/MarginContainer/VBoxContainer/PanelContainer2/HBoxContainer2"]
layout_mode = 2
size_flags_horizontal = 2
size_flags_vertical = 8
size_flags_stretch_ratio = 3.0
theme_override_font_sizes/font_size = 34
text = "历史"
[node name="history" parent="NinePatchRect2/MarginContainer/VBoxContainer/PanelContainer2" instance=ExtResource("7_6v0oc")]
layout_mode = 2
[node name="PanelContainer3" type="PanelContainer" parent="NinePatchRect2/MarginContainer/VBoxContainer"]
custom_minimum_size = Vector2(0, 100)
layout_mode = 2
theme_override_styles/panel = SubResource("StyleBoxEmpty_yu86v")
[node name="HBoxContainer3" type="HBoxContainer" parent="NinePatchRect2/MarginContainer/VBoxContainer/PanelContainer3"]
layout_mode = 2
[node name="TextureRect" type="TextureRect" parent="NinePatchRect2/MarginContainer/VBoxContainer/PanelContainer3/HBoxContainer3"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_stretch_ratio = 2.0
texture = ExtResource("8_pn6mv")
stretch_mode = 5
[node name="Label" type="Label" parent="NinePatchRect2/MarginContainer/VBoxContainer/PanelContainer3/HBoxContainer3"]
layout_mode = 2
size_flags_horizontal = 2
size_flags_vertical = 8
size_flags_stretch_ratio = 3.0
theme_override_font_sizes/font_size = 34
text = "奇幻"
[node name="fantasy" parent="NinePatchRect2/MarginContainer/VBoxContainer/PanelContainer3" instance=ExtResource("7_6v0oc")]
layout_mode = 2
[node name="PanelContainer4" type="PanelContainer" parent="NinePatchRect2/MarginContainer/VBoxContainer"]
custom_minimum_size = Vector2(0, 100)
layout_mode = 2
theme_override_styles/panel = SubResource("StyleBoxEmpty_n7qmw")
[node name="HBoxContainer4" type="HBoxContainer" parent="NinePatchRect2/MarginContainer/VBoxContainer/PanelContainer4"]
layout_mode = 2
[node name="TextureRect" type="TextureRect" parent="NinePatchRect2/MarginContainer/VBoxContainer/PanelContainer4/HBoxContainer4"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_stretch_ratio = 2.0
texture = ExtResource("9_tg2kw")
stretch_mode = 5
[node name="Label" type="Label" parent="NinePatchRect2/MarginContainer/VBoxContainer/PanelContainer4/HBoxContainer4"]
layout_mode = 2
size_flags_horizontal = 2
size_flags_vertical = 8
size_flags_stretch_ratio = 3.0
theme_override_font_sizes/font_size = 34
text = "现实"
[node name="reality" parent="NinePatchRect2/MarginContainer/VBoxContainer/PanelContainer4" instance=ExtResource("7_6v0oc")]
layout_mode = 2
[node name="PanelContainer5" type="PanelContainer" parent="NinePatchRect2/MarginContainer/VBoxContainer"]
custom_minimum_size = Vector2(0, 100)
layout_mode = 2
theme_override_styles/panel = SubResource("StyleBoxEmpty_xo627")
[node name="HBoxContainer5" type="HBoxContainer" parent="NinePatchRect2/MarginContainer/VBoxContainer/PanelContainer5"]
layout_mode = 2
[node name="TextureRect" type="TextureRect" parent="NinePatchRect2/MarginContainer/VBoxContainer/PanelContainer5/HBoxContainer5"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_stretch_ratio = 2.0
texture = ExtResource("10_ijoj6")
stretch_mode = 5
[node name="Label" type="Label" parent="NinePatchRect2/MarginContainer/VBoxContainer/PanelContainer5/HBoxContainer5"]
layout_mode = 2
size_flags_horizontal = 2
size_flags_vertical = 8
size_flags_stretch_ratio = 3.0
theme_override_font_sizes/font_size = 34
text = "末世"
[node name="eschatological" parent="NinePatchRect2/MarginContainer/VBoxContainer/PanelContainer5" instance=ExtResource("7_6v0oc")]
layout_mode = 2
[node name="basic_mes" parent="." instance=ExtResource("13_lbwxs")]
unique_name_in_owner = true
visible = false
modulate = Color(1, 1, 1, 0)
layout_mode = 1
[node name="animation" type="AnimationPlayer" parent="."]
unique_name_in_owner = true
libraries = {
"": SubResource("AnimationLibrary_8pf4e")
}
[connection signal="pressed" from="back_texture/back_btn" to="." method="_on_back_btn_pressed"]
[connection signal="pressed" from="NinePatchRect2/MarginContainer/VBoxContainer/PanelContainer/all" to="." method="_on_all_pressed"]
[connection signal="pressed" from="NinePatchRect2/MarginContainer/VBoxContainer/PanelContainer2/history" to="." method="_on_history_pressed"]
[connection signal="pressed" from="NinePatchRect2/MarginContainer/VBoxContainer/PanelContainer3/fantasy" to="." method="_on_fantasy_pressed"]
[connection signal="pressed" from="NinePatchRect2/MarginContainer/VBoxContainer/PanelContainer4/reality" to="." method="_on_reality_pressed"]
[connection signal="pressed" from="NinePatchRect2/MarginContainer/VBoxContainer/PanelContainer5/eschatological" to="." method="_on_eschatological_pressed"]
[connection signal="close" from="basic_mes" to="." method="_on_basic_mes_close"]