added enemy state machine with idle, stunned, and dead states
This commit is contained in:
@@ -270,7 +270,7 @@ func _physics_process(delta):
|
||||
crouch_audio.play()
|
||||
velocity += direction * 20
|
||||
else:
|
||||
velocity.y -= 15
|
||||
velocity.y -= 25
|
||||
|
||||
#walking
|
||||
if is_on_floor() and !is_climbing:
|
||||
|
||||
Reference in New Issue
Block a user