じ☆ve冰风 发表于 2026-7-29 22:05:42

Region Specific BGMs with fading (and simple example)

Link: Github link (click on the "raw" button and then ctrl+s to save)

Hey everyone!


Original plugin was requested for free by @ObsceneSoul.





So, what does this plugin allow you to do?
Basically, you can assign a BGM to any region, as well as detailed fade-in / fade-out times and pitch/volume/pan.
Whenever a player enters the given region, whatever BGM was playing before will fade-out, and the new BGM that was assigned to that region will start playing.

If people like this plugin and want to request additions to it, don't hesitate to post a comment ^^

Now for the example:
we want ship2 to play when the player enters region 6, so:
1- enter the data for that region (note that if pitch is 0, the music won't play)




2- add the region on your map to specify where you want the bgm to be played

https://forums.rpgmakerweb.com/attachments/1614338583395-png.180969/


And that's it! Hope you enjoy this little plugin


Terms of use:
Feel free to add this to your project! It doesn't matter whether it's commercial or not.
Also, I don't mind if you edit my plugin, as long as you send me a DM letting me know what you changed ^^

Link: Github link (click on the "raw" button and then ctrl+s to save)


本贴来自国际rpgmaker官方论坛作者:SebyDevDev处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/region-specific-bgms-with-fading-and-simple-example.133844/
页: [1]
查看完整版本: Region Specific BGMs with fading (and simple example)