summaryrefslogtreecommitdiff
path: root/HUD.tscn
blob: 6e4665df6a43c377adebee7049583795ae7ca41c (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
[gd_scene load_steps=11 format=3 uid="uid://bb8nnbftq04df"]

[ext_resource type="Texture2D" uid="uid://03ywpiydxqtr" path="res://Assets/HUD/score.png" id="1_1dnfp"]
[ext_resource type="Script" path="res://hud.gd" id="1_yklat"]
[ext_resource type="Texture2D" uid="uid://co0ut2jg74b7d" path="res://Assets/HUD/kirby.png" id="2_1sor8"]
[ext_resource type="Texture2D" uid="uid://csacog6lnjxb8" path="res://Assets/HUD/life.png" id="3_hj6sq"]
[ext_resource type="FontFile" uid="uid://cskj32qqejbjx" path="res://Assets/HUD/Minimal5x5Monospaced.ttf" id="3_w433g"]
[ext_resource type="Texture2D" uid="uid://tbmqbp685k2e" path="res://Assets/HUD/times.png" id="4_2nmud"]
[ext_resource type="PackedScene" uid="uid://gu20rupju5t7" path="res://HPBar.tscn" id="4_aw45f"]

[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_3iriw"]
bg_color = Color(1, 1, 1, 1)

[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_8r301"]
content_margin_top = 2.0
content_margin_right = 4.0

[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_8k6bx"]
content_margin_top = 2.0

[node name="HUD" type="CanvasLayer"]
script = ExtResource("1_yklat")

[node name="PanelContainer" type="PanelContainer" parent="."]
anchors_preset = 12
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = -16.0
grow_horizontal = 2
grow_vertical = 0
theme_override_styles/panel = SubResource("StyleBoxFlat_3iriw")

[node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer"]
layout_mode = 2
theme_override_constants/separation = 0

[node name="Top" type="HBoxContainer" parent="PanelContainer/VBoxContainer"]
layout_mode = 2

[node name="TextureRect" type="TextureRect" parent="PanelContainer/VBoxContainer/Top"]
texture_filter = 1
layout_mode = 2
size_flags_horizontal = 3
texture = ExtResource("1_1dnfp")
stretch_mode = 3

[node name="Score" type="Label" parent="PanelContainer/VBoxContainer/Top"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 0
theme_override_colors/font_color = Color(0, 0, 0, 1)
theme_override_fonts/font = ExtResource("3_w433g")
theme_override_font_sizes/font_size = 8
theme_override_styles/normal = SubResource("StyleBoxEmpty_8r301")
text = "1337"
horizontal_alignment = 2

[node name="empty" type="Control" parent="PanelContainer/VBoxContainer/Top"]
layout_mode = 2
size_flags_horizontal = 3

[node name="Bottom" type="HBoxContainer" parent="PanelContainer/VBoxContainer"]
layout_mode = 2

[node name="TextureRect" type="TextureRect" parent="PanelContainer/VBoxContainer/Bottom"]
texture_filter = 1
layout_mode = 2
size_flags_horizontal = 3
texture = ExtResource("2_1sor8")
stretch_mode = 5

[node name="HPBar" parent="PanelContainer/VBoxContainer/Bottom" instance=ExtResource("4_aw45f")]
layout_mode = 2

[node name="Life" type="HBoxContainer" parent="PanelContainer/VBoxContainer/Bottom"]
layout_mode = 2
size_flags_horizontal = 3
theme_override_constants/separation = 0
alignment = 1

[node name="TextureRect" type="TextureRect" parent="PanelContainer/VBoxContainer/Bottom/Life"]
texture_filter = 1
layout_mode = 2
texture = ExtResource("3_hj6sq")
stretch_mode = 4

[node name="TextureRect2" type="TextureRect" parent="PanelContainer/VBoxContainer/Bottom/Life"]
texture_filter = 1
layout_mode = 2
texture = ExtResource("4_2nmud")
stretch_mode = 4

[node name="Life" type="Label" parent="PanelContainer/VBoxContainer/Bottom/Life"]
unique_name_in_owner = true
layout_mode = 2
theme_override_colors/font_color = Color(0, 0, 0, 1)
theme_override_fonts/font = ExtResource("3_w433g")
theme_override_font_sizes/font_size = 8
theme_override_styles/normal = SubResource("StyleBoxEmpty_8k6bx")
text = "99"