Added hats
This commit is contained in:
1 parent
ca04b528bc
commit
30b2ec013e
6 files changed
+53
-31
No files matched your search
+2
-2
@@ -210,12 +210,12 @@ func _process(delta: float) -> void:
|
||||
elif direction and !dashing:
|
||||
velocity.x = direction * SPEED
|
||||
$Sprite2D.play("running")
|
||||
$Sprite2D/HatSprite.play("running")
|
||||
#$Sprite2D/HatSprite.play("running")
|
||||
|
||||
elif !dashing and !is_on_moving_platform:
|
||||
velocity.x = move_toward(velocity.x, 0, FRICTION)
|
||||
$Sprite2D.play("idle")
|
||||
$Sprite2D/HatSprite.play("idle")
|
||||
#$Sprite2D/HatSprite.play("idle")
|
||||
$Parallax2D/Sprite2D.modulate = BACKGROUND_COLOR
|
||||
|
||||
$MeditateMusic.volume_db = -100
|
||||
|
||||
Reference in new issue
Block a user