Aerisetta
Active member
TLDR: I want stage BGM (background music) to be playing, a cutscene to play with different music (or a webm) and when the game resumes, the BGM resumes.
1. Ideal solution - Game can remember what music was playing as BGM, pause it, let other music play, then play the BGM again (even better if it resumes at the point it was paused.
2. Realistic (?) solution - a @cmd I can add to an animation to play stage music as defined in the stage txt file (music data/music/bgm.ogg)
I remember reading somewhere that "resuming" music after switching to another track is currently not available in the engine because the engine does not store what music was playing before.
I know how to script for playing a track if I had the path, but I want it to be the music as defined by the stage txt instead of giving a path since the cutscene I make may be triggered on different stages with different BGM.
Any help will be appreciated.
edit here is video showing the problem, the cutscene bgm continues to play after game resumes
1. Ideal solution - Game can remember what music was playing as BGM, pause it, let other music play, then play the BGM again (even better if it resumes at the point it was paused.
2. Realistic (?) solution - a @cmd I can add to an animation to play stage music as defined in the stage txt file (music data/music/bgm.ogg)
I remember reading somewhere that "resuming" music after switching to another track is currently not available in the engine because the engine does not store what music was playing before.
I know how to script for playing a track if I had the path, but I want it to be the music as defined by the stage txt instead of giving a path since the cutscene I make may be triggered on different stages with different BGM.
Any help will be appreciated.
edit here is video showing the problem, the cutscene bgm continues to play after game resumes
Last edited: