Menu Fade to Black Plugin

Hello guys,

Right now, when entering the main menu, the menu kind of just pops out from nowhere. Same thing happens when exiting - it disappears rather abruptly.

Galv has this plugin wherein the menu crossfades from the main game screen and vise versa; but now that i have a custom menu background i want it so that when i enter the menu the screen fades to black first (then fades in again); then does the same thing when exiting out of the menu - kinda like what happens with accessing the menus of most Final Fantasy games.

I hope i explained it well. Thank you!
I think it has been solved here.

He also made a plugin copy of his tutorial here: http://pastebin.com/F2E8Q689

You can just copy the text and save it as a js file and name it as Menu Transition.js
Spoiler
Scene_Base.prototype.popScene = function () {
if (SceneManager.isNextScene(Scene_Map)) {


this.startFadeOut(this.fadeSpeed())


}


if (SceneManager.isNextScene(Scene_Menu)) {


this.startFadeOut(this.fadeSpeed())


}


SceneManager.pop();


};


Scene_Base.prototype.start = function () {


if (SceneManager._scene instanceof Scene_Map) {


this.startFadeIn(this.fadeSpeed());


}


if (SceneManager._scene instanceof Scene_Menu) {


this.startFadeIn(this.fadeSpeed());


}


if (SceneManager._scene instanceof Scene_Item) {


this.startFadeIn(this.fadeSpeed());


}


if (SceneManager._scene instanceof Scene_Skill && !$gameParty.inBattle()) {


this.startFadeIn(this.fadeSpeed());


}


if (SceneManager._scene instanceof Scene_Equip && !$gameParty.inBattle()) {


this.startFadeIn(this.fadeSpeed());


}


if (SceneManager._scene instanceof Scene_Status) {


this.startFadeIn(this.fadeSpeed());


}


if (SceneManager._scene instanceof Scene_Options) {


if (SceneManager.isNextScene(Scene_Menu)) {


this.startFadeIn(this.fadeSpeed());


}


}


if (SceneManager._scene instanceof Scene_Save) {


this.startFadeIn(this.fadeSpeed());


}


if (SceneManager._scene instanceof Scene_GameEnd) {


this.startFadeIn(this.fadeSpeed());


}


this._active = true;


};
@izyees this didn't work for me; though it did change something. after i exit the menu, the screen would quickly go black and slowly fade out.

@Milena i will try out this one. looking at the video i noticed that the creator of the tutorial is a good friend of mine. -_- i should've asked him directly. but thank you! 🙂

Original thread: https://forums.rpgmakerweb.com/threads/menu-fade-to-black-plugin.54308/