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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
|
[gd_scene load_steps=5 format=2]
[ext_resource path="res://ui/theme/main.tres" type="Theme" id=1]
[ext_resource path="res://ui/menus/Lobby.gd" type="Script" id=2]
[ext_resource path="res://ui/menus/Disclaimer.gd" type="Script" id=3]
[ext_resource path="res://ui/ubuntu-bold-small.tres" type="DynamicFont" id=4]
[node name="Lobby" type="CenterContainer"]
anchor_right = 1.0
anchor_bottom = 1.0
theme = ExtResource( 1 )
script = ExtResource( 2 )
[node name="Center" type="CenterContainer" parent="."]
margin_left = 411.0
margin_top = 290.0
margin_right = 1011.0
margin_bottom = 509.0
[node name="HBox" type="HBoxContainer" parent="Center"]
margin_right = 600.0
margin_bottom = 219.0
[node name="VBox" type="VBoxContainer" parent="Center/HBox"]
margin_right = 600.0
margin_bottom = 219.0
[node name="stophost" type="Button" parent="Center/HBox/VBox"]
focus_mode = 0
visible = false
margin_left = 7.0
margin_right = 343.0
margin_bottom = 106.0
size_flags_horizontal = 4
text = "stop hosting"
[node name="Address" type="LineEdit" parent="Center/HBox/VBox"]
margin_right = 600.0
margin_bottom = 102.0
rect_min_size = Vector2( 600, 0 )
hint_tooltip = "place game code here"
focus_mode = 1
text = "game_code"
align = 1
max_length = 10
placeholder_text = "game_code"
caret_blink = true
caret_blink_speed = 0.5
[node name="buttons" type="HBoxContainer" parent="Center/HBox/VBox"]
margin_top = 117.0
margin_right = 600.0
margin_bottom = 219.0
[node name="SpectateButton" type="Button" parent="Center/HBox/VBox/buttons"]
focus_mode = 0
margin_right = 223.0
margin_bottom = 102.0
size_flags_horizontal = 3
size_flags_vertical = 3
disabled = true
text = "spectate"
[node name="JoinButton" type="Button" parent="Center/HBox/VBox/buttons"]
focus_mode = 0
margin_left = 238.0
margin_right = 411.0
margin_bottom = 102.0
rect_min_size = Vector2( 150, 0 )
hint_tooltip = "join the game"
size_flags_horizontal = 7
disabled = true
text = "join"
[node name="HostButton" type="Button" parent="Center/HBox/VBox/buttons"]
focus_mode = 0
margin_left = 426.0
margin_right = 600.0
margin_bottom = 102.0
hint_tooltip = "host the game"
size_flags_horizontal = 7
disabled = true
text = "host"
[node name="StatusOK" type="Label" parent="Center/HBox/VBox"]
visible = false
margin_top = 242.0
margin_right = 350.0
margin_bottom = 292.0
custom_colors/font_color = Color( 1, 1, 1, 1 )
autowrap = true
[node name="StatusFail" type="Label" parent="Center/HBox/VBox"]
visible = false
margin_top = 242.0
margin_right = 350.0
margin_bottom = 292.0
custom_colors/font_color = Color( 0.698039, 0.415686, 0.415686, 1 )
autowrap = true
[node name="Disclaimer" type="Label" parent="Center/HBox/VBox"]
visible = false
margin_top = 242.0
margin_right = 350.0
margin_bottom = 342.0
rect_min_size = Vector2( 0, 100 )
custom_colors/font_color = Color( 1, 1, 1, 1 )
custom_fonts/font = ExtResource( 4 )
text = " Currently logged out.
Upon disconnect, you
will be unable to rejoin. "
valign = 1
script = ExtResource( 3 )
[node name="ColorRect" type="ColorRect" parent="Center/HBox/VBox/Disclaimer"]
show_behind_parent = true
anchor_right = 1.0
anchor_bottom = 1.0
margin_right = -46.0
color = Color( 0.588235, 0.560784, 0.309804, 1 )
[connection signal="pressed" from="Center/HBox/VBox/stophost" to="." method="_on_stophost_pressed"]
[connection signal="text_entered" from="Center/HBox/VBox/Address" to="." method="_on_Address_text_entered"]
[connection signal="pressed" from="Center/HBox/VBox/buttons/SpectateButton" to="." method="_on_spectate_pressed"]
[connection signal="pressed" from="Center/HBox/VBox/buttons/JoinButton" to="." method="_on_join_pressed"]
[connection signal="pressed" from="Center/HBox/VBox/buttons/HostButton" to="." method="_on_HostButton_pressed"]
|