59 lines
1.4 KiB
Plaintext
59 lines
1.4 KiB
Plaintext
[gd_scene load_steps=3 format=3 uid="uid://bu5cwjawsnb1q"]
|
|
|
|
[ext_resource type="Script" uid="uid://bomw4j2mmerry" path="res://Scripts/main_menu.gd" id="1_28flt"]
|
|
|
|
[sub_resource type="PlaceholderTexture2D" id="PlaceholderTexture2D_erv1k"]
|
|
size = Vector2(800, 160)
|
|
|
|
[node name="MainMenu" 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_28flt")
|
|
|
|
[node name="Container" type="Control" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 0
|
|
offset_right = 40.0
|
|
offset_bottom = 40.0
|
|
|
|
[node name="Buttons" type="VBoxContainer" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = -1
|
|
anchor_left = 0.3
|
|
anchor_top = 0.432
|
|
anchor_right = 0.7
|
|
anchor_bottom = 0.909
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="Start" type="Button" parent="Buttons"]
|
|
layout_mode = 2
|
|
text = "Start Game"
|
|
|
|
[node name="Options" type="Button" parent="Buttons"]
|
|
layout_mode = 2
|
|
text = "Options"
|
|
|
|
[node name="Quit" type="Button" parent="Buttons"]
|
|
layout_mode = 2
|
|
text = "Quit"
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = -1
|
|
anchor_left = 0.1
|
|
anchor_top = 0.045
|
|
anchor_right = 0.9
|
|
anchor_bottom = 0.284
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
texture = SubResource("PlaceholderTexture2D_erv1k")
|
|
expand_mode = 2
|
|
|
|
[connection signal="pressed" from="Buttons/Start" to="." method="start_game"]
|
|
[connection signal="pressed" from="Buttons/Quit" to="." method="quit"]
|