diff --git a/scenes/player/states/running.gd b/scenes/player/states/running.gd index 4463963..7fb17cb 100644 --- a/scenes/player/states/running.gd +++ b/scenes/player/states/running.gd @@ -24,6 +24,7 @@ func _state_physics_update(_delta: float) -> void: return if abs(player.velocity.x) > abs(player.velocity.y): + # TODO: implement walk left animation to stop doing flip_h if player.velocity.x > 0: if player.anim_player.current_animation != "walk_right": player.anim_player.play("walk_right") player.sprite.flip_h = false @@ -31,8 +32,9 @@ func _state_physics_update(_delta: float) -> void: if player.anim_player.current_animation != "walk_left": player.anim_player.play("walk_left") player.sprite.flip_h = true else: - pass + # TODO: walking up and down animations #player.anim_dir = 'down' if player.velocity.y > 0 else 'up' + pass #player.sprite.play(player.anim_dir)