-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHUD.tscn
More file actions
226 lines (201 loc) · 5.23 KB
/
HUD.tscn
File metadata and controls
226 lines (201 loc) · 5.23 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
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
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
[gd_scene load_steps=14 format=2]
[ext_resource path="res://HUD.gd" type="Script" id=1]
[ext_resource path="res://fonts/Xolonium-Regular.ttf" type="DynamicFontData" id=2]
[ext_resource path="res://gui/buttonNormal.tres" type="StyleBox" id=3]
[ext_resource path="res://gui/buttonHover.tres" type="StyleBox" id=4]
[ext_resource path="res://gui/buttonPressed.tres" type="StyleBox" id=5]
[ext_resource path="res://fonts/VCR_OSD_MONO_1.001.ttf" type="DynamicFontData" id=6]
[sub_resource type="DynamicFont" id=1]
size = 64
font_data = ExtResource( 2 )
[sub_resource type="DynamicFont" id=2]
size = 24
font_data = ExtResource( 2 )
[sub_resource type="DynamicFont" id=3]
size = 64
font_data = ExtResource( 2 )
[sub_resource type="InputEventAction" id=4]
action = "ui_select"
[sub_resource type="ShortCut" id=5]
shortcut = SubResource( 4 )
[sub_resource type="DynamicFont" id=6]
size = 23
font_data = ExtResource( 2 )
[sub_resource type="DynamicFont" id=7]
font_data = ExtResource( 6 )
[node name="HUD" type="CanvasLayer"]
script = ExtResource( 1 )
__meta__ = {
"_edit_vertical_guides_": [ 1922.19, 960.174, 1668.61 ]
}
[node name="ScoreLabel" type="Label" parent="."]
anchor_right = 1.0
margin_left = 5.00006
margin_top = 36.0001
margin_right = -4.0
margin_bottom = 114.0
custom_fonts/font = SubResource( 1 )
text = "0"
align = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ScoreLabelTitle" type="Label" parent="."]
anchor_right = 1.0
margin_top = 2.11597
margin_right = 1927.0
margin_bottom = 80.116
rect_scale = Vector2( 0.5, 0.5 )
custom_fonts/font = SubResource( 1 )
text = "Score"
align = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="TimeLabelTitle" type="RichTextLabel" parent="."]
anchor_left = 0.003
anchor_right = 1.0
margin_left = 10.0
margin_top = 10.0
margin_right = -1716.0
margin_bottom = 62.0
custom_fonts/normal_font = SubResource( 2 )
text = "Next round in:
"
fit_content_height = true
__meta__ = {
"_edit_use_anchors_": false
}
[node name="TimeLabel" type="Label" parent="."]
anchor_right = 1.0
anchor_bottom = 0.02
margin_left = 181.296
margin_top = 5.00427
margin_right = -1556.85
margin_bottom = 62.7801
rect_scale = Vector2( 0.5, 0.5 )
custom_fonts/font = SubResource( 1 )
text = "0"
align = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="MessageLabel" type="Label" parent="."]
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
margin_top = -79.5
margin_bottom = 79.5
custom_fonts/font = SubResource( 1 )
text = "Survive"
align = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="StartButton" type="Button" parent="."]
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
margin_left = -49.6582
margin_top = -466.53
margin_right = 150.342
margin_bottom = -366.53
rect_scale = Vector2( 0.5, 0.5 )
custom_styles/hover = ExtResource( 4 )
custom_styles/pressed = ExtResource( 5 )
custom_styles/normal = ExtResource( 3 )
custom_fonts/font = SubResource( 3 )
shortcut = SubResource( 5 )
text = "Start"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="MessageTimer" type="Timer" parent="."]
one_shot = true
[node name="HintTimer" type="Timer" parent="."]
wait_time = 3.0
one_shot = true
[node name="ScoreList" type="RichTextLabel" parent="."]
anchor_left = 1.0
anchor_right = 1.0
margin_left = -253.0
margin_top = 9.47031
margin_right = -10.0
margin_bottom = 308.47
custom_fonts/normal_font = SubResource( 2 )
text = "Top Ghosts
----------------------
"
fit_content_height = true
__meta__ = {
"_edit_use_anchors_": false
}
[node name="PlayerListLabel" type="RichTextLabel" parent="."]
anchor_left = 1.0
anchor_right = 1.0
margin_left = -253.0
margin_top = 236.772
margin_right = -10.0
margin_bottom = 535.772
custom_fonts/normal_font = SubResource( 2 )
text = "Players
----------------------
"
fit_content_height = true
__meta__ = {
"_edit_use_anchors_": false
}
[node name="PlayerList" type="Panel" parent="."]
self_modulate = Color( 0, 0, 0, 0 )
margin_left = 1668.0
margin_top = 292.0
margin_right = 1910.0
margin_bottom = 442.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="LocalPlayer" type="Label" parent="PlayerList"]
margin_left = -0.470215
margin_top = 8.59399
margin_right = 40.5298
margin_bottom = 37.594
size_flags_vertical = 5
custom_fonts/font = SubResource( 6 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="BoxList" type="VBoxContainer" parent="PlayerList"]
margin_left = 1.05933
margin_top = 47.6038
margin_right = 41.0593
margin_bottom = 68.6038
__meta__ = {
"_edit_use_anchors_": false
}
[node name="HintLabel" type="Label" parent="."]
visible = false
margin_left = 551.287
margin_top = 144.386
margin_right = 961.287
margin_bottom = 178.386
rect_scale = Vector2( 2, 2 )
text = "Hint"
align = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label" type="Label" parent="."]
margin_left = 11.2707
margin_top = 1052.21
margin_right = 74.2707
margin_bottom = 1067.21
custom_fonts/font = SubResource( 7 )
custom_colors/font_color = Color( 0.952941, 0.952941, 0.952941, 0.172549 )
text = "GHOSTED"
__meta__ = {
"_edit_use_anchors_": false
}
[connection signal="pressed" from="StartButton" to="." method="_on_StartButton_pressed"]
[connection signal="timeout" from="MessageTimer" to="." method="_on_MessageTimer_timeout"]
[connection signal="timeout" from="HintTimer" to="." method="_on_HintTimer_timeout"]