fixed hp based plants

This commit is contained in:
Rendo 2025-07-13 15:36:52 +05:00
commit f351e53a03
7 changed files with 261 additions and 36 deletions

View file

@ -20,14 +20,14 @@ animation = &"wallnut/idle_low"
blend_point_0/node = SubResource("AnimationNodeAnimation_ds5ry")
blend_point_0/pos = 1.0
blend_point_1/node = SubResource("AnimationNodeAnimation_frsxy")
blend_point_1/pos = 0.7
blend_point_1/pos = 0.5
blend_point_2/node = SubResource("AnimationNodeAnimation_7avgo")
blend_point_2/pos = 0.3
blend_point_2/pos = 0.0
min_space = 0.0
blend_mode = 1
[sub_resource type="AnimationNodeBlendTree" id="AnimationNodeBlendTree_bi7an"]
graph_offset = Vector2(-498, 95)
graph_offset = Vector2(-338.2, 175.4)
nodes/TimeScale/node = SubResource("AnimationNodeTimeScale_y3tlf")
nodes/TimeScale/position = Vector2(60, 140)
nodes/Tree/node = SubResource("AnimationNodeBlendSpace1D_nij8v")
@ -44,7 +44,7 @@ MaxHP = 600.0
texture = ExtResource("2_o5tda")
hframes = 12
vframes = 3
frame = 4
frame = 9
[node name="AnimationPlayer" parent="." index="1"]
libraries = {