BBBen

Veteran
Veteran
Joined
Nov 29, 2017
Messages
38
Reaction score
1
First Language
English
Primarily Uses
VNM
Is there any chance there's any way at all to keep a music track playing when a scene transition happens? I ask because I'm not just using tiny little 25 second loops of BGM; I have a proper soundtrack in my game. I think I need to break up my scenes a lot more for the engine to be able to handle loading the resources, though, so I would really, really like a way to keep the soundtrack continuously playing even when I do a "change scene" transition.

I've asked a roughly similar question before and was told no, so I'm sorry to even have to bring it up again, but it's just a major blow to the game design if I have to basically cut the entire main soundtrack. Is there some kind of possible work around for this?

EDIT: Is there, say, some possible way to script that kind of thing in JavaScript? I don't have that kind of skill, but maybe I could find someone to help me with it if it's possible.
 
Last edited:

BlueBomber000

Veteran
Veteran
Joined
Dec 23, 2018
Messages
31
Reaction score
14
First Language
English
Primarily Uses
RMMV
If you set the uncheck the "Autoplay BGM" box of the destination map (that is, the one to which you are transitioning) of your scene, it *should* carry over whatever BGM music is playing at the time the transition happens. Alternatively, you could set the BGM to the same track as the one from the previous scene and it will continue uninterrupted.

Hope that helps!
 

BBBen

Veteran
Veteran
Joined
Nov 29, 2017
Messages
38
Reaction score
1
First Language
English
Primarily Uses
VNM
If you set the uncheck the "Autoplay BGM" box of the destination map (that is, the one to which you are transitioning) of your scene, it *should* carry over whatever BGM music is playing at the time the transition happens. Alternatively, you could set the BGM to the same track as the one from the previous scene and it will continue uninterrupted.

Hope that helps!
Oh, sorry, I should clarify, this is for Visual Novel Maker. The forums seem to make it hard for people to tell when I'm posting there. :) So thanks, but I don't think the first suggestion would work here.

I do wonder about the latter thing you suggested, though - if it might be able to carry across that way. Worth a try, at least.

EDIT: No, sadly, it doesn't seem to save the place in the audio. Although I could certainly make something work if I could just figure out a way to save the point in the track and start it again in another scene.

EDIT EDIT: If I maybe had some script to stop the music and record what position it's in, then start the music in that same position after the load, perhaps that would work? I don't know - I'm a little out of my depth here.
 
Last edited:

Ilovepapayas

Villager
Member
Joined
Nov 7, 2015
Messages
26
Reaction score
5
First Language
german
Oh, sorry, I should clarify, this is for Visual Novel Maker. The forums seem to make it hard for people to tell when I'm posting there. :) So thanks, but I don't think the first suggestion would work here.

I do wonder about the latter thing you suggested, though - if it might be able to carry across that way. Worth a try, at least.

EDIT: No, sadly, it doesn't seem to save the place in the audio. Although I could certainly make something work if I could just figure out a way to save the point in the track and start it again in another scene.

EDIT EDIT: If I maybe had some script to stop the music and record what position it's in, then start the music in that same position after the load, perhaps that would work? I don't know - I'm a little out of my depth here.
There IS a way to continue the music. Set "save previous" to "yes" for the ChangeScene command.

BUT:

This also has some disadvantages. For example, there are problems when a scene is loaded on which the music was not started. And I suspect that there are other consequential errors when saving and loading the game. For example, I keep having the problem that sometimes backgrounds from old scenes are suddenly shown instead of the correct background after loading. I suspect a connection here. (But I don't know it for sure).

A code snippet would be really, really helpful to save the music from one scene and continue it into the next. So there would be no need to use that buggy "save previous" function. Surely that shouldn't be a lot of work for the developers?
 

Latest Threads

Latest Profile Posts

so... I decided since a park was an area in my game... here's an enemy that's slide with a hand behind it. cause why not.
Hot chocolate and music make studying and note-taking much easier :kaoluv:
Until my hand cramps up from writing too much!
Doing RPG Maker News for 21st September 2021


Malak is still waiting for Dark Deception Chapter 4... This was him yesterday after another sugar crash.
Again, he's fine. He's just bored at this point, considering he's exhausted his entire vacation bucket list.
Am I the only one who files custom resources under specific folders to remember who to credit? :kaoswt2:
1632263519730.png

Forum statistics

Threads
115,270
Messages
1,088,481
Members
149,874
Latest member
AlolanNinetales
Top