You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

60 lines
1.7 KiB

[gd_scene load_steps=3 format=3 uid="uid://c3ovsoq6o7y3t"]
[ext_resource type="Script" path="res://Scenes/MainScene.cs" id="1_kso8c"]
[ext_resource type="PackedScene" uid="uid://cslqihnfw0me2" path="res://Components/SettingsMenuPopup.tscn" id="2_d0nn6"]
[node name="MainScene" 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_kso8c")
[node name="BackgroundImage" type="Label" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
text = "背景图像"
horizontal_alignment = 1
vertical_alignment = 1
[node name="GameMenu" type="VBoxContainer" parent="."]
layout_mode = 1
anchors_preset = 4
anchor_top = 0.5
anchor_bottom = 0.5
offset_left = 85.0
offset_top = -50.5
offset_right = 221.0
offset_bottom = 50.5
grow_vertical = 2
[node name="ContinueButton" type="Button" parent="GameMenu"]
layout_mode = 2
text = "继续游戏"
[node name="StartButton" type="Button" parent="GameMenu"]
layout_mode = 2
text = "开始游戏"
[node name="SettingsButton" type="Button" parent="GameMenu"]
layout_mode = 2
text = "设置"
[node name="QuitButton" type="Button" parent="GameMenu"]
layout_mode = 2
text = "退出"
[node name="SettingsPopup" parent="." instance=ExtResource("2_d0nn6")]
unique_name_in_owner = true
visible = false
[connection signal="pressed" from="GameMenu/StartButton" to="." method="On_BattleDemo1Button_Pressed"]
[connection signal="pressed" from="GameMenu/SettingsButton" to="." method="On_SettingsPopupButton_Pressed"]
[connection signal="pressed" from="GameMenu/QuitButton" to="." method="On_QuitButton_Pressed"]