Simple Yet Effective BGm On The Made With MV plugin
make sure both MadewithMV and This Plugin Is Turned On
Terms Of Use : Free to use everywhere So long As Credit is Given
make sure both MadewithMV and This Plugin Is Turned On
Terms Of Use : Free to use everywhere So long As Credit is Given
JavaScript:
/*:
* @plugindesc Plays BGM during the Made With MV splash screen. v1.0
* @author Stuart-BUZZGAMES
*
* @param BGM Name
* @type file
* @dir audio/bgm/
* @default Theme1
*
* @param Volume
* @type number
* @min 0
* @max 100
* @default 90
*
* @param Pitch
* @type number
* @min 50
* @max 150
* @default 100
*
* @param Pan
* @type number
* @min -100
* @max 100
* @default 0
*
* @help
* Plays BGM during the Made With MV splash screen.
*
* Place your BGM in:
* /audio/bgm/
*
* Select it in Plugin Manager.
*
* No plugin commands.
*/
(function() {
"use strict";
var parameters = PluginManager.parameters("SplashScreenBGM");
var bgmName = String(parameters["BGM Name"] || "Theme1");
var bgmVolume = Number(parameters["Volume"] || 90);
var bgmPitch = Number(parameters["Pitch"] || 100);
var bgmPan = Number(parameters["Pan"] || 0);
// Hook into boot scene
var _Scene_Boot_start = Scene_Boot.prototype.start;
Scene_Boot.prototype.start = function() {
AudioManager.playBgm({
name: bgmName,
volume: bgmVolume,
pitch: bgmPitch,
pan: bgmPan
});
_Scene_Boot_start.call(this);
};
})();