Added speed scale for the player walking animation
This commit is contained in:
@@ -2,6 +2,7 @@ extends PlayerState
|
||||
|
||||
|
||||
func enter() -> void:
|
||||
player.sprite.speed_scale = 1
|
||||
SoundManager.play_sfx_stream(SoundManager.sfx_stream_death, player.global_position)
|
||||
player.sprite.animation_finished.connect(_on_aniimation_finished, CONNECT_ONE_SHOT)
|
||||
player.process_mode = Node.PROCESS_MODE_ALWAYS
|
||||
|
||||
Reference in New Issue
Block a user