Hi all,
After player wins the "round" they're taken to a screen showing them their stats.
I want to play youWonEffect
sound effect.
After it finishes I want to play the youWonMusic
.
Currently I have it as such:
soundSamplePlayer.play("youWonEffect")
globals.musicPlaying = load("res://audio/youWonMusic.ogg")
get_node("/root/globalsNodes/StreamPlayerMusic").play()
... and due to this it plays them both at the same time.
Now I know I could use a signal that when the soundSamplePlayer
finishes playing it could trigger the music but unfortunately I use the soundSamplePlayer
and the streamPlayer
as a global scene so it can play across scenes and send many different music tracks and sound effects to them.
How can I then get it to play the music after the sound effect in this situation?
Advice appreciated a plenty. :-)