Zombie death and damage indicators
This commit is contained in:
parent
bffb012a26
commit
b524f97e7f
14 changed files with 324 additions and 117 deletions
|
|
@ -1,5 +1,8 @@
|
|||
[gd_resource type="AnimationNodeStateMachine" load_steps=10 format=3 uid="uid://dj0blope85bg7"]
|
||||
|
||||
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_w2cv7"]
|
||||
animation = &"dead_lmao"
|
||||
|
||||
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_h0rfo"]
|
||||
animation = &"basic_zombie_eating"
|
||||
|
||||
|
|
@ -9,9 +12,6 @@ animation = &"basic_zombie_stand"
|
|||
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_g2uel"]
|
||||
animation = &"basic_zombie_walk"
|
||||
|
||||
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_w2cv7"]
|
||||
animation = &"dead_lmao"
|
||||
|
||||
[sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_vxhht"]
|
||||
advance_mode = 2
|
||||
|
||||
|
|
@ -40,6 +40,8 @@ advance_mode = 2
|
|||
advance_expression = "get(\"isEating\") == false"
|
||||
|
||||
[resource]
|
||||
states/Death/node = SubResource("AnimationNodeAnimation_w2cv7")
|
||||
states/Death/position = Vector2(778, 100)
|
||||
states/End/position = Vector2(977, 90)
|
||||
states/basic_zombie_eat/node = SubResource("AnimationNodeAnimation_h0rfo")
|
||||
states/basic_zombie_eat/position = Vector2(575, 185)
|
||||
|
|
@ -47,7 +49,5 @@ states/basic_zombie_idle/node = SubResource("AnimationNodeAnimation_nog33")
|
|||
states/basic_zombie_idle/position = Vector2(366, 100)
|
||||
states/basic_zombie_walk/node = SubResource("AnimationNodeAnimation_g2uel")
|
||||
states/basic_zombie_walk/position = Vector2(575, 35)
|
||||
states/dead_lmao/node = SubResource("AnimationNodeAnimation_w2cv7")
|
||||
states/dead_lmao/position = Vector2(778, 100)
|
||||
transitions = ["Start", "basic_zombie_idle", SubResource("AnimationNodeStateMachineTransition_vxhht"), "basic_zombie_idle", "basic_zombie_walk", SubResource("AnimationNodeStateMachineTransition_r8rju"), "basic_zombie_idle", "basic_zombie_eat", SubResource("AnimationNodeStateMachineTransition_y2ivb"), "basic_zombie_walk", "basic_zombie_eat", SubResource("AnimationNodeStateMachineTransition_7d3k4"), "basic_zombie_eat", "basic_zombie_walk", SubResource("AnimationNodeStateMachineTransition_kk4wi")]
|
||||
graph_offset = Vector2(-7, -20)
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -5,6 +5,6 @@
|
|||
[resource]
|
||||
script = ExtResource("1_8md01")
|
||||
ColorOverride = Color(0, 1, 1, 1)
|
||||
Multiplier = 0.25
|
||||
Multiplier = 0.75
|
||||
Duration = 3.25
|
||||
Slot = "freeze_slow"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue