Menu Fade to Black Plugin

DustyCat Media

Indie Game Purrfector
Veteran
Joined
Oct 15, 2012
Messages
115
Reaction score
71
First Language
English
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!
 

Milena

The woman of many questions
Veteran
Joined
Jan 26, 2014
Messages
1,281
Reaction score
106
First Language
Irish
Primarily Uses
N/A
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
 

izyees

My Secret Santa
Veteran
Joined
Oct 24, 2015
Messages
248
Reaction score
67
First Language
english
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;


};
 
Last edited by a moderator:

DustyCat Media

Indie Game Purrfector
Veteran
Joined
Oct 15, 2012
Messages
115
Reaction score
71
First Language
English
@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! :)
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,862
Messages
1,017,050
Members
137,571
Latest member
grr
Top