1
1
[gd_scene load_steps =4 format =2 ]
2
2
3
- [ext_resource path ="res://fonts/Cousine-Bold.ttf" type ="DynamicFontData" id =1 ]
4
-
5
- [sub_resource type ="DynamicFont" id =1 ]
6
-
7
- size = 60
8
- use_mipmaps = false
9
- use_filter = false
10
- font_data = ExtResource ( 1 )
11
- _sections_unfolded = [ "Extra Spacing" , "Font/fallback" , "Settings" ]
3
+ [ext_resource path ="res://hud/hud.gd" type ="Script" id =1 ]
4
+ [ext_resource path ="res://fonts/Cousine-Bold.ttf" type ="DynamicFontData" id =2 ]
12
5
13
6
[sub_resource type ="DynamicFont" id =2 ]
14
7
15
8
size = 60
16
9
use_mipmaps = false
17
10
use_filter = false
18
- font_data = ExtResource ( 1 )
11
+ font_data = ExtResource ( 2 )
19
12
_sections_unfolded = [ "Extra Spacing" , "Font" , "Settings" ]
20
13
21
- [node name ="hud" type ="Node2D" ]
22
-
23
- position = Vector2 ( 349 , 218.5 )
24
- _sections_unfolded = [ "Transform" ]
25
-
26
- [node name ="health" type ="Label" parent ="." index ="0" ]
14
+ [node name ="hud" type ="Control" index ="0" ]
27
15
28
16
anchor_left = 0.0
29
17
anchor_top = 0.0
30
- anchor_right = 0.0
31
- anchor_bottom = 0.0
32
- margin_left = 438.0
33
- margin_top = -193.0
34
- margin_right = 654.0
35
- margin_bottom = -124.0
18
+ anchor_right = 1.0
19
+ anchor_bottom = 1.0
36
20
rect_pivot_offset = Vector2 ( 0 , 0 )
37
21
rect_clip_content = false
38
- mouse_filter = 2
22
+ mouse_filter = 0
39
23
mouse_default_cursor_shape = 0
40
24
size_flags_horizontal = 1
41
- size_flags_vertical = 0
42
- custom_fonts/font = SubResource ( 1 )
43
- text = "999 HP"
44
- percent_visible = 1.0
45
- lines_skipped = 0
46
- max_lines_visible = -1
47
- _sections_unfolded = [ "Focus" , "Material" , "Mouse" , "Rect" , "Size Flags" , "Theme" , "Visibility" , "custom_fonts" , "custom_styles" ]
25
+ size_flags_vertical = 1
26
+ script = ExtResource ( 1 )
27
+ _sections_unfolded = [ "Rect" , "Transform" ]
48
28
49
- [node name ="health_bar" type ="ColorRect" parent ="." index ="1 " ]
29
+ [node name ="health_bar" type ="ColorRect" parent ="." index ="0 " ]
50
30
51
- anchor_left = 1.0
52
- anchor_top = 0.0
53
- anchor_right = 1.0
54
- anchor_bottom = 0.0
55
- margin_left = -400.0
56
- margin_top = -180.0
57
- margin_right = 350.0
58
- margin_bottom = -150.0
31
+ anchor_left = 0.0
32
+ anchor_top = 1.0
33
+ anchor_right = 0.0
34
+ anchor_bottom = 1.0
35
+ margin_top = -30.0
36
+ margin_right = 750.0
59
37
rect_pivot_offset = Vector2 ( 0 , 0 )
60
38
rect_clip_content = false
61
39
mouse_filter = 0
62
40
mouse_default_cursor_shape = 0
63
41
size_flags_horizontal = 1
64
42
size_flags_vertical = 1
65
43
color = Color ( 1 , 0 , 0 , 0.613255 )
66
- _sections_unfolded = [ "Anchor" , "Margin" ]
44
+ _sections_unfolded = [ "Anchor" , "Margin" , "Rect" ]
67
45
68
46
[node name ="health_bar_background" type ="ColorRect" parent ="health_bar" index ="0" ]
69
47
@@ -80,18 +58,16 @@ mouse_default_cursor_shape = 0
80
58
size_flags_horizontal = 1
81
59
size_flags_vertical = 1
82
60
color = Color ( 1 , 1 , 1 , 0.187843 )
83
- _sections_unfolded = [ "Anchor" , "Margin" ]
61
+ _sections_unfolded = [ "Anchor" , "Margin" , "Rect" ]
84
62
85
- [node name ="easter_eggs" type ="Label" parent ="." index ="2 " ]
63
+ [node name ="easter_eggs" type ="Label" parent ="." index ="1 " ]
86
64
87
- anchor_left = 0 .0
65
+ anchor_left = 1 .0
88
66
anchor_top = 0.0
89
- anchor_right = 0 .0
67
+ anchor_right = 1 .0
90
68
anchor_bottom = 0.0
91
- margin_left = 370.0
92
- margin_top = -130.0
93
- margin_right = 658.0
94
- margin_bottom = -61.0
69
+ margin_left = -288.0
70
+ margin_bottom = 69.0
95
71
rect_pivot_offset = Vector2 ( 0 , 0 )
96
72
rect_clip_content = false
97
73
mouse_filter = 2
0 commit comments