2025-04-14 21:54:29 +08:00

112 lines
3.1 KiB
Plaintext

[gd_scene load_steps=5 format=3 uid="uid://l0twf4e20yas"]
[ext_resource type="Texture2D" uid="uid://cy8hsxd2nn0i8" path="res://assets/EclipticSonataLogo.png" id="1_82ouh"]
[ext_resource type="Script" uid="uid://c0hp2amidehe0" path="res://scripts/MenuController.cs" id="1_f01gi"]
[ext_resource type="Theme" uid="uid://bi5n6j6qn74xi" path="res://resources/themes/menubutton.tres" id="2_82ouh"]
[ext_resource type="Theme" uid="uid://d0pi6io7y7tky" path="res://resources/themes/dialog.tres" id="4_w85t6"]
[node name="Menu" type="ColorRect" node_paths=PackedStringArray("ContinueGame", "GameSettings", "BackToTitle", "ExitGame", "ExitConfirmationDialog", "BackToTitleConfirmationDialog")]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
color = Color(1, 1, 1, 0.392157)
script = ExtResource("1_f01gi")
ContinueGame = NodePath("继续游戏")
GameSettings = NodePath("游戏设置")
BackToTitle = NodePath("返回标题")
ExitGame = NodePath("结束游戏")
ExitConfirmationDialog = NodePath("ExitGame?")
BackToTitleConfirmationDialog = NodePath("BackToTitle?")
metadata/_edit_lock_ = true
[node name="TextureRect" type="TextureRect" parent="."]
layout_mode = 0
offset_left = 203.0
offset_top = 8.0
offset_right = 1079.0
offset_bottom = 338.0
texture = ExtResource("1_82ouh")
metadata/_edit_lock_ = true
[node name="继续游戏" type="Button" 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 = -86.0
offset_top = 48.5
offset_right = 86.0
offset_bottom = 101.5
grow_horizontal = 2
grow_vertical = 2
theme = ExtResource("2_82ouh")
text = "继续游戏"
[node name="游戏设置" type="Button" 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 = -86.0
offset_top = 111.5
offset_right = 86.0
offset_bottom = 164.5
grow_horizontal = 2
grow_vertical = 2
theme = ExtResource("2_82ouh")
text = "游戏设置"
[node name="返回标题" type="Button" 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 = -86.0
offset_top = 176.5
offset_right = 86.0
offset_bottom = 229.5
grow_horizontal = 2
grow_vertical = 2
theme = ExtResource("2_82ouh")
text = "返回标题"
[node name="结束游戏" type="Button" 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 = -86.0
offset_top = 240.5
offset_right = 86.0
offset_bottom = 293.5
grow_horizontal = 2
grow_vertical = 2
theme = ExtResource("2_82ouh")
text = "结束游戏"
[node name="ExitGame?" type="ConfirmationDialog" parent="."]
auto_translate_mode = 1
title = "提示"
theme = ExtResource("4_w85t6")
ok_button_text = "是"
dialog_text = "是否退出游戏?未保存的内容将丢失。"
cancel_button_text = "否"
[node name="BackToTitle?" type="ConfirmationDialog" parent="."]
auto_translate_mode = 1
title = "提示"
theme = ExtResource("4_w85t6")
ok_button_text = "是"
dialog_text = "返回标题界面?未保存的内容将丢失。"
cancel_button_text = "否"