Allow slugs to walk left
This commit is contained in:
parent
b30613974e
commit
78b7015eea
|
@ -107,6 +107,8 @@ func _physics_process(delta: float) -> void:
|
|||
$AnimatedSprite.play("crawl")
|
||||
if not $SlimyWalkSfx.playing:
|
||||
$SlimyWalkSfx.play()
|
||||
|
||||
$AnimatedSprite.flip_h = _velocity.x < 0
|
||||
else:
|
||||
if $AnimatedSprite.animation != "still":
|
||||
$AnimatedSprite.play("still")
|
||||
|
|
Loading…
Reference in New Issue