Redo some of the git ignore, and add a dash function
This commit is contained in:
@@ -18,6 +18,12 @@ func animate(_velocity: Vector3) -> void:
|
||||
if animation_player.is_playing() and animation_player.current_animation == "Attack1":
|
||||
return
|
||||
|
||||
# Check if we're dashing
|
||||
if _character._is_dashing:
|
||||
if animation_player.current_animation != "Jump2":
|
||||
animation_player.play("Jump2")
|
||||
return
|
||||
|
||||
if not _character.is_on_floor():
|
||||
if _velocity.y < 0:
|
||||
animation_player.play("Fall")
|
||||
|
||||
Reference in New Issue
Block a user