-
Notifications
You must be signed in to change notification settings - Fork 0
/
MainMenu.tscn
50 lines (42 loc) · 1.59 KB
/
MainMenu.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
[gd_scene load_steps=3 format=3 uid="uid://bq2c520snn4bs"]
[ext_resource type="Script" path="res://MainMenu.gd" id="1_su8pm"]
[ext_resource type="FontFile" uid="uid://bjjlnpmm3oyu0" path="res://Pixeled.ttf" id="2_unnrj"]
[node name="MainMenu" type="Control"]
layout_mode = 3
anchor_left = 0.198
anchor_top = 0.291
anchor_right = 0.712
anchor_bottom = 0.788
offset_left = -126.72
offset_top = -104.76
offset_right = 184.32
offset_bottom = 76.32
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_su8pm")
[node name="MarginContainer" type="MarginContainer" parent="."]
layout_mode = 1
anchors_preset = -1
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 43.0
offset_top = 35.0
offset_right = -435.0
offset_bottom = -46.0
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"]
layout_mode = 2
[node name="Play" type="Button" parent="MarginContainer/VBoxContainer"]
layout_mode = 2
theme_override_fonts/font = ExtResource("2_unnrj")
text = "Start game"
[node name="Options" type="Button" parent="MarginContainer/VBoxContainer"]
layout_mode = 2
theme_override_fonts/font = ExtResource("2_unnrj")
text = "Options"
[node name="Quit" type="Button" parent="MarginContainer/VBoxContainer"]
layout_mode = 2
theme_override_fonts/font = ExtResource("2_unnrj")
text = "Quit"
[connection signal="pressed" from="MarginContainer/VBoxContainer/Play" to="." method="_on_play_pressed"]
[connection signal="pressed" from="MarginContainer/VBoxContainer/Options" to="." method="_on_options_pressed"]
[connection signal="pressed" from="MarginContainer/VBoxContainer/Quit" to="." method="_on_quit_pressed"]