1- [gd_scene load_steps =8 format =2 ]
1+ [gd_scene load_steps =10 format =2 ]
22
33[ext_resource path ="res://UI/HUD.gd" type ="Script" id =1 ]
44[ext_resource path ="res://assets/fonts/Xolonium-Regular.ttf" type ="DynamicFontData" id =2 ]
@@ -9,10 +9,43 @@ size = 32
99extra_spacing_top = 10
1010font_data = ExtResource ( 2 )
1111
12+ [sub_resource type ="DynamicFont" id =5 ]
13+ size = 48
14+ font_data = ExtResource ( 2 )
15+
1216[sub_resource type ="DynamicFont" id =2 ]
1317size = 69
1418font_data = ExtResource ( 2 )
1519
20+ [sub_resource type ="Animation" id =6 ]
21+ resource_name = "bonus"
22+ length = 0.15
23+ step = 0.01
24+ tracks/0/type = "value"
25+ tracks/0/path = NodePath ("BonusBox/Bonus:rect_scale" )
26+ tracks/0/interp = 1
27+ tracks/0/loop_wrap = true
28+ tracks/0/imported = false
29+ tracks/0/enabled = true
30+ tracks/0/keys = {
31+ "times" : PoolRealArray ( 0 , 0.07 , 0.15 ),
32+ "transitions" : PoolRealArray ( 1 , 1 , 1 ),
33+ "update" : 0 ,
34+ "values" : [ Vector2 ( 1 , 1 ), Vector2 ( 1.25 , 1.25 ), Vector2 ( 1 , 1 ) ]
35+ }
36+ tracks/1/type = "value"
37+ tracks/1/path = NodePath ("BonusBox/Bonus:custom_colors/font_color" )
38+ tracks/1/interp = 1
39+ tracks/1/loop_wrap = true
40+ tracks/1/imported = false
41+ tracks/1/enabled = true
42+ tracks/1/keys = {
43+ "times" : PoolRealArray ( 0 , 0.07 , 0.15 ),
44+ "transitions" : PoolRealArray ( 1 , 1 , 1 ),
45+ "update" : 0 ,
46+ "values" : [ Color ( 1 , 1 , 1 , 1 ), Color ( 1 , 0 , 0 , 1 ), Color ( 1 , 1 , 1 , 1 ) ]
47+ }
48+
1649[sub_resource type ="Animation" id =3 ]
1750resource_name = "init"
1851length = 0.1
@@ -119,6 +152,24 @@ size_flags_vertical = 5
119152custom_fonts/font = ExtResource ( 3 )
120153text = "100"
121154
155+ [node name ="BonusBox" type ="MarginContainer" parent ="." ]
156+ anchor_right = 1.0
157+ margin_bottom = 40.0
158+ custom_constants/margin_right = 20
159+ custom_constants/margin_top = 20
160+ custom_constants/margin_left = 20
161+ custom_constants/margin_bottom = 20
162+
163+ [node name ="Bonus" type ="Label" parent ="BonusBox" ]
164+ margin_left = 20.0
165+ margin_top = 20.0
166+ margin_right = 460.0
167+ margin_bottom = 78.0
168+ size_flags_vertical = 5
169+ custom_fonts/font = SubResource ( 5 )
170+ custom_colors/font_color = Color ( 1 , 1 , 1 , 1 )
171+ text = "1x"
172+
122173[node name ="Message" type ="Label" parent ="." ]
123174anchor_top = 0.5
124175anchor_right = 1.0
@@ -134,5 +185,6 @@ clip_text = true
134185
135186[node name ="AnimationPlayer" type ="AnimationPlayer" parent ="." ]
136187autoplay = "init"
188+ anims/bonus = SubResource ( 6 )
137189anims/init = SubResource ( 3 )
138190anims/show_message = SubResource ( 4 )
0 commit comments