55 lines
2.2 KiB
Plaintext
Executable File
55 lines
2.2 KiB
Plaintext
Executable File
[gd_scene load_steps=7 format=3 uid="uid://cq6uwsye435dr"]
|
|
|
|
[ext_resource type="Theme" uid="uid://d01fm68pwgnvc" path="res://ui/default_theme.tres" id="1_6mtu4"]
|
|
[ext_resource type="Texture2D" uid="uid://w7m2ybuqy1bw" path="res://ui/background.png" id="2_bhgnh"]
|
|
[ext_resource type="Script" uid="uid://3bfn7lgm1s3h" path="res://menus/main_menu.gd" id="3_3kxo1"]
|
|
[ext_resource type="PackedScene" uid="uid://bqlbo0yh111fw" path="res://objects/ui/sound_button.tscn" id="5_511f8"]
|
|
[ext_resource type="AudioStream" uid="uid://3p3r68ntjf4u" path="res://sounds/ui/menu_click.wav" id="5_h8vgu"]
|
|
[ext_resource type="AudioStream" uid="uid://cs58kp03yj1kf" path="res://sounds/ui/menu_confirm.wav" id="6_su02e"]
|
|
|
|
[node name="Main_Menu" type="TextureRect"]
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme = ExtResource("1_6mtu4")
|
|
texture = ExtResource("2_bhgnh")
|
|
script = ExtResource("3_3kxo1")
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
|
layout_mode = 0
|
|
offset_top = 144.0
|
|
offset_right = 320.0
|
|
offset_bottom = 240.0
|
|
theme_override_constants/separation = 2
|
|
|
|
[node name="Btn_NewGame" parent="VBoxContainer" instance=ExtResource("5_511f8")]
|
|
layout_mode = 2
|
|
text = "New Game"
|
|
FocusSound = ExtResource("5_h8vgu")
|
|
PressSound = ExtResource("6_su02e")
|
|
|
|
[node name="Btn_Continue" parent="VBoxContainer" instance=ExtResource("5_511f8")]
|
|
layout_mode = 2
|
|
text = "Continue"
|
|
FocusSound = ExtResource("5_h8vgu")
|
|
PressSound = ExtResource("6_su02e")
|
|
|
|
[node name="Btn_Options" parent="VBoxContainer" instance=ExtResource("5_511f8")]
|
|
layout_mode = 2
|
|
text = "Options"
|
|
FocusSound = ExtResource("5_h8vgu")
|
|
PressSound = ExtResource("6_su02e")
|
|
|
|
[node name="Btn_Quit" parent="VBoxContainer" instance=ExtResource("5_511f8")]
|
|
layout_mode = 2
|
|
text = "Quit"
|
|
FocusSound = ExtResource("5_h8vgu")
|
|
PressSound = ExtResource("6_su02e")
|
|
|
|
[connection signal="pressed" from="VBoxContainer/Btn_NewGame" to="." method="_on_btn_new_game_pressed"]
|
|
[connection signal="pressed" from="VBoxContainer/Btn_Continue" to="." method="_on_btn_continue_pressed"]
|
|
[connection signal="pressed" from="VBoxContainer/Btn_Options" to="." method="_on_btn_options_pressed"]
|
|
[connection signal="pressed" from="VBoxContainer/Btn_Quit" to="." method="_on_btn_quit_pressed"]
|