-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMenu.tscn
More file actions
43 lines (37 loc) · 1.26 KB
/
Menu.tscn
File metadata and controls
43 lines (37 loc) · 1.26 KB
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
[gd_scene load_steps=3 format=2]
[ext_resource path="res://Menu.gd" type="Script" id=1]
[ext_resource path="res://assets/fonts/Press start 2p.tres" type="DynamicFont" id=2]
[node name="Control" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = -1.52588e-05
margin_top = -0.568863
margin_bottom = -0.568848
script = ExtResource( 1 )
[node name="GridContainer" type="GridContainer" parent="."]
editor/display_folded = true
margin_left = 77.0
margin_top = 55.0
margin_right = 955.0
margin_bottom = 539.0
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 2
size_flags_vertical = 2
[node name="SinglePlayerButton" type="Button" parent="GridContainer"]
margin_right = 878.0
margin_bottom = 240.0
size_flags_horizontal = 3
size_flags_vertical = 3
custom_fonts/font = ExtResource( 2 )
text = "Single player"
[node name="TwoPlayerButton" type="Button" parent="GridContainer"]
margin_top = 244.0
margin_right = 878.0
margin_bottom = 484.0
grow_horizontal = 2
size_flags_vertical = 3
custom_fonts/font = ExtResource( 2 )
text = "Two player"
[connection signal="pressed" from="GridContainer/SinglePlayerButton" to="." method="_on_SinglePlayerButton_pressed"]
[connection signal="pressed" from="GridContainer/TwoPlayerButton" to="." method="_on_TwoPlayerButton_pressed"]