summaryrefslogtreecommitdiff
path: root/ui/MainMenu.tscn
blob: 4cd993a60f9280c74130345143688cbaa2d87909 (plain)
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
[gd_scene load_steps=3 format=2]

[ext_resource path="res://theming/menu_font.tres" type="DynamicFont" id=1]
[ext_resource path="res://ui/MainMenu.gd" type="Script" id=2]

[node name="MainMenu" type="Node2D"]
script = ExtResource( 2 )

[node name="HostButton" type="Button" parent="."]
margin_left = 83.0
margin_top = 73.0
margin_right = 236.0
margin_bottom = 109.0
custom_fonts/font = ExtResource( 1 )
text = "Host Server"

[node name="JoinButton" type="Button" parent="."]
margin_left = 84.0
margin_top = 121.0
margin_right = 235.0
margin_bottom = 157.0
custom_fonts/font = ExtResource( 1 )
text = "Join Server"

[node name="LocalButton" type="Button" parent="."]
margin_left = 84.0
margin_top = 168.0
margin_right = 235.0
margin_bottom = 204.0
custom_fonts/font = ExtResource( 1 )
text = "Local Server"

[node name="QuitButton" type="Button" parent="."]
margin_left = 117.0
margin_top = 226.0
margin_right = 192.0
margin_bottom = 246.0
custom_fonts/font = ExtResource( 1 )
text = "QUIT"

[connection signal="pressed" from="HostButton" to="." method="to_host_menu"]
[connection signal="pressed" from="JoinButton" to="." method="to_join_menu"]
[connection signal="pressed" from="LocalButton" to="." method="run_local_server"]
[connection signal="pressed" from="QuitButton" to="." method="quit_game"]