41 lines
1.2 KiB
Plaintext
41 lines
1.2 KiB
Plaintext
[gd_scene load_steps=2 format=3 uid="uid://dp6pttsbfm0f1"]
|
|
|
|
[ext_resource type="Script" path="res://menu.gd" id="1_a0bq7"]
|
|
|
|
[node name="menu" 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_a0bq7")
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="."]
|
|
layout_mode = 0
|
|
offset_right = 40.0
|
|
offset_bottom = 40.0
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="Play" type="Button" parent="MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
text = "Play"
|
|
|
|
[node name="Settings" type="Button" parent="MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
text = "Options"
|
|
|
|
[node name="Quit Game" type="Button" parent="MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
text = "Quit game"
|
|
|
|
[node name="Camera2D" type="Camera2D" parent="."]
|
|
position = Vector2(43, 55)
|
|
zoom = Vector2(2, 2)
|
|
|
|
[connection signal="pressed" from="MarginContainer/VBoxContainer/Play" to="." method="_on_play_pressed"]
|
|
[connection signal="pressed" from="MarginContainer/VBoxContainer/Settings" to="." method="_on_settings_pressed"]
|
|
[connection signal="pressed" from="MarginContainer/VBoxContainer/Quit Game" to="." method="_on_quit_game_pressed"]
|