From 96d36cee33d6321834565f0a5d412ef95c5ceffd Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Thu, 28 Dec 2023 09:07:41 +0100 Subject: next commit --- Scenes/Components/SceneTransition.gd | 1 + 1 file changed, 1 insertion(+) (limited to 'Scenes/Components/SceneTransition.gd') diff --git a/Scenes/Components/SceneTransition.gd b/Scenes/Components/SceneTransition.gd index ee01938..befeaf4 100644 --- a/Scenes/Components/SceneTransition.gd +++ b/Scenes/Components/SceneTransition.gd @@ -27,6 +27,7 @@ func _on_body_entered(body: Node2D): # var tween = create_tween() # tween.tween_property($Sprite2D, "modulate", Color(0, 0, 0, 1), 0.75) var tween = Utilities.fade_screen(Color(0, 0, 0, 0), Color(0, 0, 0, 1), 0.75) + Utilities.fade_bg_music(0.75) tween.connect("finished", func(): Utilities.change_scene_with_player_to_position( self.scene, player, NodePath(targetPlayerPositionNodePath) -- cgit v1.2.3