mirror of
https://github.com/creyD/ludum_dare_46.git
synced 2026-06-17 15:40:20 +02:00
Sounds partially added
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user