Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.
Original Source
- Original title: Flare Collection - Play Music on Region Touch
- Original author: DarknessFalls
- Original date: December 16, 2015
- Source thread: https://forums.rpgmakerweb.com/threads/flare-collection-play-music-on-region-touch.53075/
- Source forum path: Game Development Engines > RPG Maker Javascript Plugins > JS Plugin Releases (RMMV)
Summary
Flare Play Music On Region Touch vs 1.0 Download: here Credit: Darknessfalls Spoiler
Archived First Post
Flare Play Music On Region Touch vs 1.0
Download: here
Credit: Darknessfalls
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.
Download: here
Credit: Darknessfalls
[IMG]http://i.imgur.com/CiHrOPl.png[/IMG]
Set up your regions.
[IMG]http://i.imgur.com/MthDPDx.png[/IMG]
Turn on music with an array of regions. fadeout on others.
Set up your regions.
[IMG]http://i.imgur.com/MthDPDx.png[/IMG]
Turn on music with an array of regions. fadeout on others.
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.
Downloads / Referenced Files
Log in to download
Log in, then follow the RPG Maker Developers Group to see these download links.
Log in to downloadLicense / Terms Note
Credit: Darknessfalls Spoiler [IMG]http://i.imgur.com/CiHrOPl.png[/IMG] Set up your regions.
Creator Claims / Removal
If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.
Replies (0)
No replies yet.
0
replies
1
view
Topic Summary
Loading summary...