1010resource_local_to_scene = true
1111shader = ExtResource ("2_mnm1f" )
1212shader_parameter/hp_ratio = 1.0
13+ shader_parameter/is_hit_flash_active = false
1314
1415[sub_resource type ="CircleShape2D" id ="CircleShape2D_ruldg" ]
1516radius = 25.0
1617
18+ [sub_resource type ="Animation" id ="Animation_mnm1f" ]
19+ length = 0.001
20+ tracks/0/type = "value"
21+ tracks/0/imported = false
22+ tracks/0/enabled = true
23+ tracks/0/path = NodePath ("Sprite2D:material:shader_parameter/is_hit_flash_active" )
24+ tracks/0/interp = 1
25+ tracks/0/loop_wrap = true
26+ tracks/0/keys = {
27+ "times" : PackedFloat32Array (0 ),
28+ "transitions" : PackedFloat32Array (1 ),
29+ "update" : 1 ,
30+ "values" : [false ]
31+ }
32+
33+ [sub_resource type ="Animation" id ="Animation_0jsgn" ]
34+ resource_name = "hit"
35+ length = 0.1
36+ tracks/0/type = "value"
37+ tracks/0/imported = false
38+ tracks/0/enabled = true
39+ tracks/0/path = NodePath ("Sprite2D:material:shader_parameter/is_hit_flash_active" )
40+ tracks/0/interp = 1
41+ tracks/0/loop_wrap = true
42+ tracks/0/keys = {
43+ "times" : PackedFloat32Array (0 , 0.10000001 ),
44+ "transitions" : PackedFloat32Array (1 , 1 ),
45+ "update" : 1 ,
46+ "values" : [true , false ]
47+ }
48+
49+ [sub_resource type ="AnimationLibrary" id ="AnimationLibrary_0xnlj" ]
50+ _data = {
51+ &"RESET" : SubResource ("Animation_mnm1f" ),
52+ &"hit" : SubResource ("Animation_0jsgn" )
53+ }
54+
1755[node name ="Cell" type ="Node2D" unique_id =1435320636 ]
1856script = ExtResource ("1_cjhyy" )
1957repair_rate = 1.0
@@ -36,4 +74,8 @@ shape = SubResource("CircleShape2D_ruldg")
3674unique_name_in_owner = true
3775max_health = 15.0
3876
77+ [node name ="AnimationPlayer" type ="AnimationPlayer" parent ="." unique_id =1733586492 ]
78+ unique_name_in_owner = true
79+ libraries/ = SubResource ("AnimationLibrary_0xnlj" )
80+
3981[editable path ="Hurtbox2D" ]
0 commit comments