¡HI THERE!
I made a plugin that
allows you to change the pitch of the BGM and the BGS without repeating it.
and a screen effect what that does this:
https://www.youtube.com/embed/0Vt5qiojjv4
And yes,
I am the author of this game

I have called the plugin:
Just Battle Modules.
Because those modules that you see, I programmed them for my game, but I want to share what I have done c:
Plugin Commands:
(you must use the plugin commands in the Script commands)
And we start with the BGM & BGS Commands:
Spoiler
NOTE: You must update your NWJS to use these script commands, You can see a tutorial about this here.
(This part of the plugin will continue to work as long as you have the parameter enabled)
Play the same music but with different parameters:
- Garasu_VarModBGM(Pitch, Vol, Pan);
- Garasu_ModBGM(Pitch, Vol, Pan);
Pitch: Allows you to modify the tone of the BGM playing the same music.
Volume: Allows you to modify the Volume of the BGM playing the same music.
Pan: Allows you to modify the side where you listen
Garasu_VarModBGM(Pitch, Volume, Pan);
Description:
what this function allows you to do is play the same music with modified parameters. You have to put the Variable IDs.
example:
Garasu_VarModBGM(1, 2, 3);
The variable #001, will allow to modify the
Pitch depending on the value.
The variable #002, will allow to modify the
Volume depending on the value.
The variable #003, will allow to modify the
Panning of the value.
if you want to do it manually or decimal you will have to use the following script command:
Garasu_ModBGM(Pitch, Volume, Pan);
example:
Garasu_ModBGM(100, 100, 0);
And now we continue with the speed effects on the screen:
Spoiler
- Garasu_EnfriarPantallaTemporal(Speed Time, Frame Speed);
- Garasu_EnfriarPantalla(Frame Speed);
Speed Time: It is the speed at which it will take to return to normal.
Frame Speed: It is at the maximum frame rate that the game will go (60fps by default).
example of use:
Garasu_EnfriarPantallaTemporal(5, 15);
the game screen will go to 15 fps for 5 seconds.
Plugin Download:
Download on this link
Game Demo:
Download on this link
and yes, the plugin is in Spanish because I'm still practicing in English and my original language is Spanish.
:c
Terms of Use: Feel
free to use it in
commercial and not
commercial and Modifying the Script, but do not claim as if it were yours!.
本贴来自国际rpgmaker官方论坛作者:GarasuNF处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:
https://forums.rpgmakerweb.com/threads/my-first-functional-plugin-changing-bgm-bgs-pitch-without-replaying.154889/