-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.tscn
171 lines (136 loc) · 5.75 KB
/
main.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
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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
[gd_scene load_steps=4 format=3 uid="uid://ktlxrpr5syea"]
[ext_resource type="Script" path="res://main.gd" id="1_v1c2x"]
[ext_resource type="PackedScene" uid="uid://dq02d7ku86vxp" path="res://game.tscn" id="2_c63ru"]
[ext_resource type="PackedScene" uid="uid://cvhxmoylkgjed" path="res://score_table.tscn" id="3_s0me2"]
[node name="Main" type="Node"]
script = ExtResource("1_v1c2x")
[node name="Game" parent="." instance=ExtResource("2_c63ru")]
visible = false
[node name="Menu" type="MarginContainer" parent="."]
offset_left = 29.0
offset_top = 29.0
offset_right = 1121.0
offset_bottom = 629.0
[node name="GridContainer" type="GridContainer" parent="Menu"]
layout_mode = 2
columns = 2
[node name="GridContainer2" type="GridContainer" parent="Menu/GridContainer"]
layout_mode = 2
columns = 3
[node name="GridContainer" type="GridContainer" parent="Menu/GridContainer/GridContainer2"]
layout_mode = 2
columns = 3
[node name="JoinButton" type="MenuButton" parent="Menu/GridContainer/GridContainer2/GridContainer"]
custom_minimum_size = Vector2(120, 0)
layout_mode = 2
text = "Join"
[node name="HostButton" type="MenuButton" parent="Menu/GridContainer/GridContainer2/GridContainer"]
custom_minimum_size = Vector2(120, 0)
layout_mode = 2
text = "Host"
[node name="NameTextBox" type="LineEdit" parent="Menu/GridContainer/GridContainer2/GridContainer"]
unique_name_in_owner = true
custom_minimum_size = Vector2(120, 0)
layout_mode = 2
placeholder_text = "I am called..."
max_length = 16
caret_blink = true
[node name="AddressTextBox" type="LineEdit" parent="Menu/GridContainer/GridContainer2/GridContainer"]
unique_name_in_owner = true
custom_minimum_size = Vector2(140, 0)
layout_mode = 2
text = "127.0.0.1"
placeholder_text = "I wish to join IP..."
max_length = 15
[node name="ReadyButton" type="CheckButton" parent="Menu/GridContainer/GridContainer2/GridContainer"]
unique_name_in_owner = true
layout_mode = 2
button_pressed = true
text = "Hesitate"
[node name="UPnPButton" type="CheckButton" parent="Menu/GridContainer/GridContainer2/GridContainer"]
unique_name_in_owner = true
layout_mode = 2
tooltip_text = "Not needed for LAN play. Causes delay if unavailable."
text = "UPnP"
[node name="VBoxContainer" type="VBoxContainer" parent="Menu/GridContainer/GridContainer2"]
layout_mode = 2
[node name="GridContainer2" type="GridContainer" parent="Menu/GridContainer/GridContainer2/VBoxContainer"]
custom_minimum_size = Vector2(240, 0)
layout_mode = 2
size_flags_horizontal = 3
columns = 6
[node name="MenuButton" type="Label" parent="Menu/GridContainer/GridContainer2/VBoxContainer/GridContainer2"]
layout_mode = 2
text = "Team:"
[node name="ProgressButton" type="MenuButton" parent="Menu/GridContainer/GridContainer2/VBoxContainer/GridContainer2"]
unique_name_in_owner = true
layout_mode = 2
text = "Progress"
[node name="PlayerCount1" type="Label" parent="Menu/GridContainer/GridContainer2/VBoxContainer/GridContainer2"]
unique_name_in_owner = true
layout_mode = 2
text = "0"
[node name="MenuButton2" type="MenuButton" parent="Menu/GridContainer/GridContainer2/VBoxContainer/GridContainer2"]
layout_mode = 2
[node name="FurtherButton" type="MenuButton" parent="Menu/GridContainer/GridContainer2/VBoxContainer/GridContainer2"]
unique_name_in_owner = true
layout_mode = 2
text = "Further"
[node name="PlayerCount2" type="Label" parent="Menu/GridContainer/GridContainer2/VBoxContainer/GridContainer2"]
unique_name_in_owner = true
layout_mode = 2
text = "0"
[node name="ScoreButton" type="MenuButton" parent="Menu/GridContainer/GridContainer2/VBoxContainer"]
unique_name_in_owner = true
visible = false
layout_mode = 2
text = "Show Score"
alignment = 0
[node name="MotivationalLabel" type="Label" parent="Menu/GridContainer/GridContainer2/VBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
horizontal_alignment = 1
[node name="PlayerListTitleBox" type="GridContainer" parent="Menu/GridContainer"]
layout_mode = 2
columns = 7
[node name="VBoxContainer" type="VBoxContainer" parent="Menu/GridContainer/PlayerListTitleBox"]
layout_mode = 2
[node name="Label" type="Label" parent="Menu/GridContainer/PlayerListTitleBox/VBoxContainer"]
layout_mode = 2
[node name="Label2" type="Label" parent="Menu/GridContainer/PlayerListTitleBox/VBoxContainer"]
layout_mode = 2
[node name="HBoxContainer" type="HBoxContainer" parent="Menu/GridContainer/PlayerListTitleBox/VBoxContainer"]
layout_mode = 2
[node name="AdmiralLabel" type="Label" parent="Menu/GridContainer/PlayerListTitleBox/VBoxContainer/HBoxContainer"]
custom_minimum_size = Vector2(280, 0)
layout_mode = 2
text = "Admiral"
[node name="TeamLabel" type="Label" parent="Menu/GridContainer/PlayerListTitleBox/VBoxContainer/HBoxContainer"]
custom_minimum_size = Vector2(80, 0)
layout_mode = 2
text = "Team"
[node name="HesitatingLabel" type="Label" parent="Menu/GridContainer/PlayerListTitleBox/VBoxContainer/HBoxContainer"]
layout_mode = 2
text = "Hesitating
"
[node name="Infobox" type="RichTextLabel" parent="Menu/GridContainer"]
unique_name_in_owner = true
custom_minimum_size = Vector2(400, 530)
layout_mode = 2
[node name="PlayerList" type="GridContainer" parent="Menu/GridContainer"]
unique_name_in_owner = true
layout_mode = 2
[node name="ScoreTable" parent="." instance=ExtResource("3_s0me2")]
visible = false
anchors_preset = 0
anchor_right = 0.0
anchor_bottom = 0.0
offset_left = 29.0
offset_top = 29.0
offset_right = 1121.0
offset_bottom = 640.0
grow_horizontal = 1
grow_vertical = 1
[connection signal="button_up" from="Menu/GridContainer/GridContainer2/GridContainer/JoinButton" to="." method="_on_join_buttonpress"]
[connection signal="button_up" from="Menu/GridContainer/GridContainer2/GridContainer/HostButton" to="." method="_on_host_buttonpress"]
[connection signal="toggled" from="Menu/GridContainer/GridContainer2/GridContainer/ReadyButton" to="." method="_on_ready_button_toggled"]