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! :)
 

Latest Threads

Latest Profile Posts

Sometimes you Just need to realise someone is beyond help... Still hard to walk away tho :(
100 Horror/Tragedy Sample Maps, Penguin Mech Sprite, & TileD Templates | RPG Maker News #70

Continuing working on abs. So far I have done the workout twice. I am excited to see the results after a couple of weeks. How is everyone doing? :)
MZ: oh boy imma work today
Me, excited: Really?
MZ, doesn't do what I tell It too
Me: I Thought-
MZ: I am Working!
Oof, this "side project" of mine is starting to get as complex as a VS plugin, at least as far as plugin parameters are concerned. I think I now understand why a plugin like this doesn't already exist(that I know of). Learning a lot while trying to make it work though!

Forum statistics

Threads
112,224
Messages
1,066,656
Members
145,828
Latest member
Frostdrache
Top