blob: cbe5be9d2e36b3f99a3140916d8343e7e132dc05 (
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
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
|
[gd_scene load_steps=3 format=2]
[ext_resource path="res://Network/Lobby.gd" type="Script" id=1]
[ext_resource path="res://UI/Menu/MenuButton.tscn" type="PackedScene" id=2]
[node name="Lobby" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Connect" type="Panel" parent="."]
margin_left = 424.0
margin_top = 232.0
margin_right = 600.0
margin_bottom = 376.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Name" type="LineEdit" parent="Connect"]
margin_left = 8.0
margin_top = 8.0
margin_right = 168.0
margin_bottom = 32.0
placeholder_text = "Name"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="IP" type="LineEdit" parent="Connect"]
margin_left = 8.0
margin_top = 40.0
margin_right = 168.0
margin_bottom = 64.0
placeholder_text = "IP"
[node name="Host" type="Button" parent="Connect"]
margin_left = 8.0
margin_top = 112.0
margin_right = 64.0
margin_bottom = 136.0
text = "Host"
[node name="Join" type="Button" parent="Connect"]
margin_left = 112.0
margin_top = 112.0
margin_right = 168.0
margin_bottom = 136.0
text = "Join"
[node name="Error" type="Label" parent="Connect"]
margin_left = 8.0
margin_top = 72.0
margin_right = 168.0
margin_bottom = 104.0
custom_colors/font_color = Color( 1, 0.137255, 0.137255, 1 )
[node name="Players" type="Panel" parent="."]
visible = false
margin_left = 384.0
margin_top = 48.0
margin_right = 640.0
margin_bottom = 512.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label" type="Label" parent="Players"]
margin_left = 16.0
margin_top = 16.0
margin_right = 64.0
margin_bottom = 32.0
text = "Lobby"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="IP" type="Label" parent="Players"]
margin_left = 128.0
margin_top = 16.0
margin_right = 240.0
margin_bottom = 30.0
text = "000.000.000.000"
align = 2
__meta__ = {
"_edit_use_anchors_": false
}
[node name="List" type="ItemList" parent="Players"]
margin_left = 16.0
margin_top = 48.0
margin_right = 240.0
margin_bottom = 400.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Start" type="Button" parent="Players"]
margin_left = 64.0
margin_top = 416.0
margin_right = 192.0
margin_bottom = 448.0
text = "START!"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Back" type="Button" parent="Players"]
margin_left = 16.0
margin_top = 416.0
margin_right = 48.0
margin_bottom = 448.0
text = "<"
[node name="ErrorDialog" type="AcceptDialog" parent="."]
visible = true
margin_right = 83.0
margin_bottom = 58.0
[node name="MenuButton" parent="." instance=ExtResource( 2 )]
margin_left = 976.0
margin_right = 0.0
[connection signal="pressed" from="Connect/Host" to="." method="_on_Host_pressed"]
[connection signal="pressed" from="Connect/Join" to="." method="_on_Join_pressed"]
[connection signal="pressed" from="Players/Start" to="." method="_on_Start_pressed"]
[connection signal="pressed" from="Players/Back" to="." method="_on_Back_pressed"]
|