summaryrefslogtreecommitdiff
path: root/Scenes/Components
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2023-12-28 09:07:41 +0100
committerDaniel Weipert <git@mail.dweipert.de>2023-12-28 09:07:41 +0100
commit96d36cee33d6321834565f0a5d412ef95c5ceffd (patch)
tree0dec02c5915cc154d48eef6ac9c2cd0be7df7982 /Scenes/Components
parent46556d864b9685c3b09a0038f5de83966fe7ff94 (diff)
next commitHEADmain
Diffstat (limited to 'Scenes/Components')
-rw-r--r--Scenes/Components/SceneTransition.gd1
1 files changed, 1 insertions, 0 deletions
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)