Flare Collection - Play Music on Region Touch

DarknessFalls

Rpg Maker Jesus - JS Dev.
Veteran
Joined
Jun 7, 2013
Messages
1,393
Reaction score
210
First Language
English
Flare Play Music On Region Touch vs 1.0

Download: here

Credit: Darknessfalls



Set up your regions.



Turn on music with an array of regions. fadeout on others.
The above shows you how to quickly set up a set of regions that when touched music plays.

In the above, 19 plays the river BGS while 20 fades it out over 2 seconds.

So How is this done?

Paint some regions on the map, one set is for the music to fade in, the other is for the music to fade out. You can have multiple regions that fade in music and multiple that fade out music.

Create a parallel event that contains the script calls you see in the image, for example:

FlarePlayMusicOnRegionTouch.playMusic([19], 'BGS', 'River', 50, 100, 0)FlarePlayMusicOnRegionTouch.fadeOutOnRegions([20], 'BGS', 2)Run the game.When the user touches region 19, BGS of River will play. How ever when the player touches region 20, all BGS's will be faded out over 2 seconds.

ATTN!

I do not fade out BGS or any other music on map transfer, thats for you to set up.
 
Joined
Jun 16, 2014
Messages
4
Reaction score
1
First Language
English
This is an interesting idea for a plugin, it would make world maps with radically different areas have more character if each continent had its own background music, or something like that.

But one question: Does this mean that stepping onto and standing on region 20 would cause the music to fade out into silence?
 
Last edited by a moderator:

DarknessFalls

Rpg Maker Jesus - JS Dev.
Veteran
Joined
Jun 7, 2013
Messages
1,393
Reaction score
210
First Language
English
Yes. If 19 plays river music and 20 fades out bgs then all bgs music on the map will fade out.

Just like it would if you say play bgs and fade out bgs via events
 
Joined
Feb 21, 2013
Messages
24
Reaction score
3
First Language
SPANISH
Primarily Uses
RMMV
Links missed. Nothing in Github. :(
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,370
Reaction score
7,678
First Language
German
Primarily Uses
RMMV
Links missed. Nothing in Github. :(
The OP has been banned from this site, so it's very unlikely that some one can restore the links - especially since they might have been taken down by the OP when he was banned.
 
Last edited:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

"You can thank my later", "But you haven't done anything", "Well, that's why ..."
Are we allowed to post about non-RPG Maker games?
I should realize that error was produced by a outdated version of MZ so that's why it pop up like that
Ami
i can't wait to drink some ice after struggling with my illness in 9 days. 9 days is really bad for me,i can't focus with my shop and even can't do something with my project
How many hours have you got in mz so far?

Forum statistics

Threads
105,884
Messages
1,017,242
Members
137,609
Latest member
shododdydoddy
Top