-
Notifications
You must be signed in to change notification settings - Fork 0
/
hud.tscn
100 lines (83 loc) · 2.52 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
[gd_scene load_steps=10 format=3 uid="uid://dbux7q0ds61l6"]
[ext_resource type="Script" path="res://hud.gd" id="1_rkhxv"]
[sub_resource type="SystemFont" id="SystemFont_jmknw"]
[sub_resource type="LabelSettings" id="LabelSettings_vd3sy"]
font = SubResource("SystemFont_jmknw")
outline_size = 3
outline_color = Color(0, 0, 0, 1)
[sub_resource type="SystemFont" id="SystemFont_rh5au"]
[sub_resource type="LabelSettings" id="LabelSettings_6dum2"]
font = SubResource("SystemFont_rh5au")
outline_size = 3
outline_color = Color(0, 0, 0, 1)
[sub_resource type="SystemFont" id="SystemFont_er2oe"]
[sub_resource type="LabelSettings" id="LabelSettings_54i4c"]
font = SubResource("SystemFont_er2oe")
outline_size = 3
outline_color = Color(0, 0, 0, 1)
[sub_resource type="SystemFont" id="SystemFont_ycr4s"]
[sub_resource type="LabelSettings" id="LabelSettings_76cuo"]
font = SubResource("SystemFont_ycr4s")
outline_size = 3
outline_color = Color(0, 0, 0, 1)
[node name="HUD" type="Control"]
process_mode = 3
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_rkhxv")
[node name="MarginContainer" type="MarginContainer" parent="."]
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -5.0
offset_right = 5.0
offset_bottom = 23.0
grow_horizontal = 2
[node name="Score" type="Label" parent="MarginContainer"]
layout_mode = 2
text = "0"
label_settings = SubResource("LabelSettings_vd3sy")
[node name="MarginContainer2" type="MarginContainer" parent="."]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -20.0
offset_top = -20.0
offset_right = 20.0
offset_bottom = 20.0
grow_horizontal = 2
grow_vertical = 2
[node name="Paused" type="Label" parent="MarginContainer2"]
visible = false
layout_mode = 2
text = "PAUSED"
label_settings = SubResource("LabelSettings_6dum2")
[node name="MarginContainer3" type="MarginContainer" parent="."]
layout_mode = 1
anchors_preset = 7
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = -20.0
offset_top = -40.0
offset_right = 20.0
grow_horizontal = 2
grow_vertical = 0
[node name="Start" type="Label" parent="MarginContainer3"]
layout_mode = 2
text = "Press Enter to Start"
label_settings = SubResource("LabelSettings_54i4c")
[node name="GameOver" type="Label" parent="MarginContainer3"]
visible = false
layout_mode = 2
text = "Game Over. Press Enter to Play Again"
label_settings = SubResource("LabelSettings_76cuo")