Sounds partially added

This commit is contained in:
Jan Schuffenhauer
2020-04-21 00:51:42 +02:00
parent ed320ecc7f
commit de9a94255f
26 changed files with 213 additions and 6 deletions

View File

@@ -4,7 +4,6 @@ onready var animation_player = owner.get_node("AnimationPlayer")
func play_directional_animation(name, vec):
var anim_name = name + get_nearest_diretion(vec)
if animation_player.current_animation != anim_name:
animation_player.play(anim_name)
@@ -38,5 +37,3 @@ func get_nearest_diretion(vec):
return nearest_direction