RPG Maker Forums

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.

Latest Threads

Latest Profile Posts

Day 9 of giveaways! 8 prizes today :D
He mad, but he cute :kaopride:

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.

Forum statistics

Threads
106,037
Messages
1,018,464
Members
137,821
Latest member
Capterson
Top