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.
82 lines
2.7 KiB
82 lines
2.7 KiB
[gd_scene load_steps=2 format=3 uid="uid://o0c5ir7543g1"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/End.gd" id="1_jfc42"]
|
|
|
|
[node name="MainMenu" type="CanvasLayer"]
|
|
script = ExtResource("1_jfc42")
|
|
metadata/_edit_use_anchors_ = true
|
|
|
|
[node name="CenterContainer" type="CenterContainer" parent="."]
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="CenterContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="CenterContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 1
|
|
theme_override_font_sizes/font_size = 72
|
|
text = "Welcome to pDash"
|
|
horizontal_alignment = 1
|
|
|
|
[node name="Button01" type="Button" parent="CenterContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
focus_neighbor_left = NodePath("../Button05")
|
|
focus_neighbor_top = NodePath("../Button05")
|
|
focus_neighbor_right = NodePath("../Button02")
|
|
focus_neighbor_bottom = NodePath("../Button02")
|
|
focus_next = NodePath("../Button02")
|
|
focus_previous = NodePath("../Button05")
|
|
text = "New Game"
|
|
|
|
[node name="Button02" type="Button" parent="CenterContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
focus_neighbor_left = NodePath("../Button01")
|
|
focus_neighbor_top = NodePath("../Button01")
|
|
focus_neighbor_right = NodePath("../Button03")
|
|
focus_neighbor_bottom = NodePath("../Button03")
|
|
focus_next = NodePath("../Button03")
|
|
focus_previous = NodePath("../Button01")
|
|
disabled = true
|
|
text = "Continue"
|
|
|
|
[node name="Button03" type="Button" parent="CenterContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
focus_neighbor_left = NodePath("../Button02")
|
|
focus_neighbor_top = NodePath("../Button02")
|
|
focus_neighbor_right = NodePath("../Button04")
|
|
focus_neighbor_bottom = NodePath("../Button04")
|
|
focus_next = NodePath("../Button04")
|
|
focus_previous = NodePath("../Button02")
|
|
disabled = true
|
|
text = "Options"
|
|
|
|
[node name="Button04" type="Button" parent="CenterContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
focus_neighbor_left = NodePath("../Button03")
|
|
focus_neighbor_top = NodePath("../Button03")
|
|
focus_neighbor_right = NodePath("../Button05")
|
|
focus_neighbor_bottom = NodePath("../Button05")
|
|
focus_next = NodePath("../Button05")
|
|
focus_previous = NodePath(".")
|
|
disabled = true
|
|
text = "Credits"
|
|
|
|
[node name="Button05" type="Button" parent="CenterContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
focus_neighbor_left = NodePath("../Button04")
|
|
focus_neighbor_top = NodePath("../Button04")
|
|
focus_neighbor_right = NodePath("../Button01")
|
|
focus_neighbor_bottom = NodePath("../Button01")
|
|
focus_next = NodePath("../Button01")
|
|
focus_previous = NodePath("../Button04")
|
|
text = "Quit
|
|
"
|
|
|
|
[connection signal="button_up" from="CenterContainer/VBoxContainer/Button01" to="." method="_on_play"]
|
|
[connection signal="button_up" from="CenterContainer/VBoxContainer/Button05" to="." method="_on_quit"]
|