-
Notifications
You must be signed in to change notification settings - Fork 1
/
HUD.tscn
136 lines (118 loc) · 3.68 KB
/
HUD.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
[gd_scene load_steps=10 format=3 uid="uid://cc8fx2uvaws46"]
[ext_resource type="Script" path="res://Levels/HUD.gd" id="1_0a344"]
[ext_resource type="Texture2D" uid="uid://cv8kemvndniu3" path="res://Assets/Environment/Bone.png" id="2_eosqq"]
[ext_resource type="FontFile" uid="uid://cuo28wcy83qw8" path="res://Assets/Font/dpcomic.ttf" id="3_hhlkd"]
[ext_resource type="Texture2D" uid="uid://bead53im1swcj" path="res://Assets/HUD/HourGlass.png" id="4_38xit"]
[ext_resource type="Texture2D" uid="uid://dgltf607bu5o1" path="res://Assets/Environment/Newspaper.png" id="5_5hjin"]
[sub_resource type="LabelSettings" id="LabelSettings_mdrut"]
font = ExtResource("3_hhlkd")
font_size = 32
outline_size = 6
outline_color = Color(0, 0, 0, 1)
[sub_resource type="LabelSettings" id="LabelSettings_ew5pt"]
font = ExtResource("3_hhlkd")
font_size = 39
outline_size = 8
outline_color = Color(0, 0, 0, 1)
[sub_resource type="LabelSettings" id="LabelSettings_0qbx0"]
font = ExtResource("3_hhlkd")
font_size = 39
outline_size = 8
outline_color = Color(0, 0, 0, 1)
[sub_resource type="LabelSettings" id="LabelSettings_s4vgj"]
outline_size = 7
outline_color = Color(0, 0, 0, 1)
[node name="HUD" type="Control"]
layout_mode = 3
anchors_preset = 0
offset_left = -81.0
offset_top = 24.0
offset_right = -41.0
offset_bottom = 64.0
script = ExtResource("1_0a344")
[node name="BoneCounter" type="Control" parent="."]
layout_mode = 3
anchors_preset = 0
offset_left = -61.0
offset_top = 34.0
offset_right = -21.0
offset_bottom = 74.0
[node name="BoneTexture" type="TextureRect" parent="BoneCounter"]
layout_mode = 0
offset_left = -212.0
offset_top = -159.0
offset_right = -172.0
offset_bottom = -119.0
scale = Vector2(0.75, 0.75)
texture = ExtResource("2_eosqq")
[node name="X" type="Label" parent="BoneCounter"]
layout_mode = 0
offset_left = -172.0
offset_top = -154.0
offset_right = -132.0
offset_bottom = -121.0
text = "x"
label_settings = SubResource("LabelSettings_mdrut")
[node name="Bones" type="Label" parent="BoneCounter"]
texture_filter = 1
layout_mode = 0
offset_left = -146.0
offset_top = -159.0
offset_right = -62.0
offset_bottom = -97.0
text = "32"
label_settings = SubResource("LabelSettings_ew5pt")
[node name="TimeCounter" type="Control" parent="."]
layout_mode = 3
anchors_preset = 0
offset_left = -60.0
offset_top = 34.0
offset_right = -20.0
offset_bottom = 74.0
[node name="HourGlass" type="TextureRect" parent="TimeCounter"]
layout_mode = 0
offset_left = 273.0
offset_top = -158.0
offset_right = 313.0
offset_bottom = -118.0
scale = Vector2(0.75, 0.75)
texture = ExtResource("4_38xit")
[node name="Colon" type="Label" parent="TimeCounter"]
layout_mode = 0
offset_left = 312.0
offset_top = -159.0
offset_right = 352.0
offset_bottom = -126.0
text = ":"
label_settings = SubResource("LabelSettings_mdrut")
[node name="LevelTimer" type="Timer" parent="TimeCounter"]
autostart = true
[node name="Seconds" type="Label" parent="TimeCounter"]
texture_filter = 1
layout_mode = 0
offset_left = 327.0
offset_top = -158.0
offset_right = 411.0
offset_bottom = -96.0
text = "32"
label_settings = SubResource("LabelSettings_0qbx0")
[node name="Newspaper" type="TextureRect" parent="."]
visible = false
layout_mode = 0
offset_left = 7.0
offset_top = -128.0
offset_right = 47.0
offset_bottom = -88.0
scale = Vector2(0.75, 0.75)
texture = ExtResource("5_5hjin")
[node name="SpeedrunCounter" type="Label" parent="."]
layout_mode = 0
offset_left = -280.0
offset_top = 200.0
offset_right = -187.0
offset_bottom = 225.0
theme_override_fonts/font = ExtResource("3_hhlkd")
theme_override_font_sizes/font_size = 26
text = "00:00:000"
label_settings = SubResource("LabelSettings_s4vgj")
[connection signal="timeout" from="TimeCounter/LevelTimer" to="." method="_on_level_timer_timeout"]