SoundsByDane

Villager
Member
Joined
Mar 17, 2020
Messages
21
Reaction score
8
First Language
English
Primarily Uses
RMMV
It's hard to explain the question that I have so instead I am going to explain what happens in the game then try to ask my question from there.

So in my game, you're in an abandoned psychiatric hospital. In the main room (pretty much the whole first floor) there's a song that plays (Autoplay BGM), but before that, there's a song that plays when you have your whole party with you (pretty much the intro for the game). As you enter the next room, the music changes, the music changes again when you enter the room after that and so on. Then when you complete a task, the first floor music plays again. There's also a song that plays when you get chased by the enemy. Through out the game you solve puzzles then the enemy appears with the chase music. There's two floors that has two different BGM.

Now how do have the game remember to continue playing a BGM from an event then when that event is over, play back the BGM from Autoplay?

Hopefully I worded that okay, if not let me know :)
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
43,769
Reaction score
15,321
First Language
English
Primarily Uses
RMMV
There is a Save BGM and a Replay BGM command.
 

SoundsByDane

Villager
Member
Joined
Mar 17, 2020
Messages
21
Reaction score
8
First Language
English
Primarily Uses
RMMV
There is a Save BGM and a Replay BGM command.
There's an issue that I have when replaying the BGM. When I go to one room and play a BGM, I want that that BGM to continue if the player goes to the previous room which has the Replay BGM event command. But if they return to that previous room, the song resets. I want it to continue playing.

The previous room is the room that has an autoplay bgm that I don't want to play yet until the intro is over.
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
43,769
Reaction score
15,321
First Language
English
Primarily Uses
RMMV
You need to remove the autoplay BGM from the map settings, and put an event in that room that determines whether the BGM should change or not.
 

Reinarc

Veteran
Veteran
Joined
Sep 21, 2020
Messages
136
Reaction score
118
First Language
English
Primarily Uses
RMMZ
I've learned from these forums that if you expect the map music to change from it's default, it's usually best (as Shaz said) to have the BGM controlled by an event. I use a parallel process. I have one switch that I use to control this (you could have more than one if needed).

test.png
 

Latest Threads

Latest Posts

Latest Profile Posts

At this point, "unique and diverse cast of characters" might as well be slang for Every Character is a Human-Sue.
I found an absolutely brilliant lifehack on the internet today.

Screenshot_760.jpg
It does sometimes get a little embarrassing that I often come here to ask for help with something and seldom have anything to actually show for it. If there is one thing though I can commend myself for, it's for sticking with an idea I've been tinkering with for this long now and gradually making headways. Even though I've been reserved about my progress, I can say I'm farther now than where I initially started.
I'm gonna put my project on pause for a tiny bit so I can explore the engine outside of it... Winging it can only get you so far LMFAO

Forum statistics

Threads
116,137
Messages
1,096,102
Members
151,566
Latest member
ahmnet83
Top