This commit is contained in:
Rendo 2025-07-13 04:55:33 +05:00
commit bb7c0f63c4
12 changed files with 482 additions and 28 deletions

View file

@ -196,6 +196,7 @@ blend_point_1/pos = 0.5
blend_point_2/node = SubResource("AnimationNodeAnimation_v7ffp")
blend_point_2/pos = 0.0
min_space = 0.0
blend_mode = 1
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_ga4vy"]
animation = &"nerdus/idle_full"
@ -248,7 +249,7 @@ node_connections = [&"TimeScale", 0, &"Tree", &"output", 0, &"TimeScale"]
radius = 24.0
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ga4vy"]
size = Vector2(80, 48)
size = Vector2(73, 48)
[node name="Nerdus" instance=ExtResource("1_8ui1h")]
MaxHP = 200.0
@ -283,7 +284,7 @@ returnEffect = ExtResource("4_ga4vy")
bitesToPeas = 1.6
[node name="CollisionShape2D" type="CollisionShape2D" parent="Hurtbox" index="0"]
position = Vector2(7, 3)
position = Vector2(3.5, 3)
shape = SubResource("RectangleShape2D_ga4vy")
[node name="Behaviour" type="Node" parent="." index="5"]
@ -291,3 +292,4 @@ script = ExtResource("5_o1ggp")
parameters = Array[String](["parameters/Tree/Attack/blend_position", "parameters/Tree/Idle/blend_position"])
[connection signal="OnHPChanged" from="." to="Hurtbox" method="OnHPChanged"]
[connection signal="OnHPChanged" from="." to="Behaviour" method="OnHPChanged"]