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 Posts

Latest Profile Posts

Thanks, google for putting together a random pixel art Olympics game in your logo that puts everything I've ever done to shame in pretty much every aspect. ;)
Chizuru
chizuru.png


anyway, i just recovered from Covid.
Work's been delayed for a month but now i'm back drawing again.
Ah yes i learned how to make name boxes Im now profeshonal
The snowy mountains in my game are finally done... what a crazy journey.
I participated in the official video event collection!

Forum statistics

Threads
113,610
Messages
1,076,203
Members
147,617
Latest member
G-G-Games
Top