Music while meditating
This commit is contained in:
1 parent
d1fb937a93
commit
12ed9ae894
9 files changed
+51
-11
No files matched your search
@@ -188,6 +188,9 @@ func _process(delta: float) -> void:
|
||||
$Sprite2D.play("crouch")
|
||||
$Parallax2D/Sprite2D.modulate = Color.CYAN
|
||||
|
||||
$MeditateMusic.volume_db = 0
|
||||
$BackgroundMusic.volume_db = -100
|
||||
|
||||
for hidden_object in get_tree().get_nodes_in_group("Hidden"):
|
||||
hidden_object.show()
|
||||
|
||||
@@ -214,6 +217,9 @@ func _process(delta: float) -> void:
|
||||
$Sprite2D/HatSprite.play("idle")
|
||||
$Parallax2D/Sprite2D.modulate = BACKGROUND_COLOR
|
||||
|
||||
$MeditateMusic.volume_db = -100
|
||||
$BackgroundMusic.volume_db = 0
|
||||
|
||||
if get_tree():
|
||||
for hidden_object in get_tree().get_nodes_in_group("Hidden"):
|
||||
hidden_object.hide()
|
||||
|
||||
Reference in new issue
Block a user