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,670
Reaction score
15,291
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,670
Reaction score
15,291
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

I've been busy trying out different art styles for my game.

Enemies deserve some spotlight also
hackingCompressed.gif
I think I can make a text-based mini-game with almost zero art assets and with code only...just a lot of code as assets all by themselves. :kaojoy:
A video update on the progress I've been making on the cutscenes. :kaosalute:

I wonder if color LUTs is possible for RPG Maker. It would be game changer and can replace the not so good looking tint screen

Forum statistics

Threads
115,866
Messages
1,093,578
Members
151,092
Latest member
FlaViews
Top