xiandie/scene/index/index_page.tscn

183 lines
6.1 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[gd_scene load_steps=12 format=3 uid="uid://c4ycvdsabi7lw"]
[ext_resource type="Script" uid="uid://b4rw4hk7ns4m8" path="res://scene/index/index_page.gd" id="1_c7y7r"]
[ext_resource type="Texture2D" uid="uid://bcc0bk34l5gbc" path="res://asset/art/ui/index/菜单背景.png" id="1_jxn4k"]
[ext_resource type="AudioStream" uid="uid://cvttds81trcoc" path="res://asset/audio/sfx/UI/click.ogg" id="2_te6ya"]
[ext_resource type="Script" uid="uid://rq6w1vuhuq1m" path="res://scene/entity/audio/sfx.gd" id="3_5oc6i"]
[ext_resource type="Script" uid="uid://bbg4vopj4apl6" path="res://scene/entity/audio/bgm_control.gd" id="4_5oc6i"]
[ext_resource type="AudioStream" uid="uid://b3b4a6nm8557i" path="res://asset/audio/专用/衔蝶_主菜单music剪辑人声版.wav" id="5_5oc6i"]
[ext_resource type="Script" uid="uid://c63lrar71o17d" path="res://scene/index/启动入口.gd" id="7_1sxgt"]
[ext_resource type="AudioStream" uid="uid://b3b4a6nm8557i" path="res://asset/audio/专用/衔蝶_主菜单music剪辑人声版.ogg" id="5_5oc6i"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_gu56a"]
content_margin_top = 4.0
content_margin_bottom = 4.0
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_q8n5c"]
bg_color = Color(0.327299, 0.327299, 0.327299, 0.619608)
corner_radius_top_left = 4
corner_radius_top_right = 4
corner_radius_bottom_right = 4
corner_radius_bottom_left = 4
expand_margin_top = 4.0
expand_margin_bottom = 4.0
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_scxsv"]
bg_color = Color(0.811765, 0.811765, 0.811765, 0.521569)
border_color = Color(0.336608, 0.336608, 0.336608, 0.517647)
corner_radius_top_left = 4
corner_radius_top_right = 4
corner_radius_bottom_right = 4
corner_radius_bottom_left = 4
expand_margin_top = 4.0
expand_margin_bottom = 4.0
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_vyh3d"]
content_margin_top = 4.0
content_margin_bottom = 4.0
[node name="IndexPage" type="Control"]
process_mode = 3
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_c7y7r")
[node name="AnimationRoot" type="Control" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
[node name="SfxClick" type="AudioStreamPlayer" parent="."]
unique_name_in_owner = true
stream = ExtResource("2_te6ya")
volume_db = -8.285
bus = &"game_sfx"
script = ExtResource("3_5oc6i")
[node name="BgmControl" type="Node" parent="."]
script = ExtResource("4_5oc6i")
bgm_title = "index菜单主题曲"
bgm_stream = ExtResource("5_5oc6i")
metadata/_custom_type_script = "uid://bbg4vopj4apl6"
[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_jxn4k")
expand_mode = 1
[node name="VBoxContainer" type="VBoxContainer" parent="."]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = 137.0
offset_top = -39.0
offset_right = 225.0
offset_bottom = 80.0
grow_horizontal = 2
grow_vertical = 2
[node name="NewGame" type="Button" parent="VBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
theme_override_styles/focus = SubResource("StyleBoxEmpty_gu56a")
theme_override_styles/hover = SubResource("StyleBoxFlat_q8n5c")
theme_override_styles/pressed = SubResource("StyleBoxFlat_scxsv")
theme_override_styles/normal = SubResource("StyleBoxEmpty_vyh3d")
text = "index_新游戏"
[node name="Resume" type="Button" parent="VBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
theme_override_styles/focus = SubResource("StyleBoxEmpty_gu56a")
theme_override_styles/hover = SubResource("StyleBoxFlat_q8n5c")
theme_override_styles/pressed = SubResource("StyleBoxFlat_scxsv")
theme_override_styles/normal = SubResource("StyleBoxEmpty_vyh3d")
text = "index_继续游戏"
[node name="Settings" type="Button" parent="VBoxContainer"]
unique_name_in_owner = true
visible = false
layout_mode = 2
theme_override_styles/focus = SubResource("StyleBoxEmpty_gu56a")
theme_override_styles/hover = SubResource("StyleBoxFlat_q8n5c")
theme_override_styles/pressed = SubResource("StyleBoxFlat_scxsv")
theme_override_styles/normal = SubResource("StyleBoxEmpty_vyh3d")
text = "index_继续游戏"
[node name="Memory" type="Button" parent="VBoxContainer"]
unique_name_in_owner = true
visible = false
layout_mode = 2
theme_override_styles/focus = SubResource("StyleBoxEmpty_gu56a")
theme_override_styles/hover = SubResource("StyleBoxFlat_q8n5c")
theme_override_styles/pressed = SubResource("StyleBoxFlat_scxsv")
theme_override_styles/normal = SubResource("StyleBoxEmpty_vyh3d")
text = "index_继续游戏"
[node name="Quit" type="Button" parent="VBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
theme_override_styles/focus = SubResource("StyleBoxEmpty_gu56a")
theme_override_styles/hover = SubResource("StyleBoxFlat_q8n5c")
theme_override_styles/pressed = SubResource("StyleBoxFlat_scxsv")
theme_override_styles/normal = SubResource("StyleBoxEmpty_vyh3d")
text = "index_退出游戏"
[node name="Mask" 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
mouse_filter = 2
color = Color(0, 0, 0, 1)
[node name="启动入口" type="VBoxContainer" parent="."]
layout_mode = 0
offset_left = 298.0
offset_top = 50.0
offset_right = 396.0
offset_bottom = 172.0
script = ExtResource("7_1sxgt")
[node name="Label" type="Label" parent="启动入口"]
layout_mode = 2
text = "【仅测试版本启用】"
[node name="DebugMode" type="Button" parent="启动入口"]
custom_minimum_size = Vector2(50, 0)
layout_mode = 2
text = "退出 debug mode仅本次启动游戏有效若想持续生效需退出游戏后改动 config.tres/.res "
autowrap_mode = 3
[node name="Chapter1" type="Button" parent="启动入口"]
layout_mode = 2
text = "从第一章开始新游戏"
[node name="Chapter2" type="Button" parent="启动入口"]
layout_mode = 2
text = "从第二章开始新游戏"
[node name="Chapter3" type="Button" parent="启动入口"]
visible = false
layout_mode = 2
text = "从第三章开始新游戏"