Here is a picture to see which Scene Im trying to figure out what its called.
Dose anyone know what Scene is this called. I cant figure it out.
Javascript/Plugin SupportWindow_GameEnd
Code:
//-----------------------------------------------------------------------------
// Window_GameEnd
//
// The window for selecting "Go to Title" on the game end screen.
function Window_GameEnd() {
this.initialize.apply(this, arguments);
}
Window_GameEnd.prototype = Object.create(Window_Command.prototype);
Window_GameEnd.prototype.constructor = Window_GameEnd;
Window_GameEnd.prototype.initialize = function() {
Window_Command.prototype.initialize.call(this, 0, 0);
this.updatePlacement();
this.openness = 0;
this.open();
};
Window_GameEnd.prototype.windowWidth = function() {
return 240;
};
Window_GameEnd.prototype.updatePlacement = function() {
this.x = (Graphics.boxWidth - this.width) / 2;
this.y = (Graphics.boxHeight - this.height) / 2;
};
Window_GameEnd.prototype.makeCommandList = function() {
this.addCommand(TextManager.toTitle, 'toTitle');
this.addCommand(TextManager.cancel, 'cancel');
};
FYI, if you ever need to find any other Scene's name, open up the console with F8 or F12 (depending on some common plugins you may have installed)
And type
SceneManager._scene.constructor.name
That will return a string with the name of the constuctor of the current scene you're viewing.
So on the map scene, it would return
"Scene_Map"
And if you want to know the name of a window in a scene,
Yami has a script called
WindowIdentifier.js
You can dl it if you don't have it, but if you got RMMV through Steam, it's in the dlc folder, under RPGMakerWeb_plugins folder.
It lets you hold down a button (I think shift or control) and the name of any windows on screen will pop up, which is pretty useful 😀
And type
SceneManager._scene.constructor.name
That will return a string with the name of the constuctor of the current scene you're viewing.
So on the map scene, it would return
"Scene_Map"
And if you want to know the name of a window in a scene,
Yami has a script called
WindowIdentifier.js
You can dl it if you don't have it, but if you got RMMV through Steam, it's in the dlc folder, under RPGMakerWeb_plugins folder.
It lets you hold down a button (I think shift or control) and the name of any windows on screen will pop up, which is pretty useful 😀
Awesome! Thank for that detailed answer. I didnt know you can identify the scenes that way. That will be very handy! I'm very please with this answer thank you again. I will make sure to send you a playable version of my game once I have a demo out.
What I have been trying to figure out as well in this Scene, is how do you put a quit or exit button here. I think that would be super good idea so you dont have to exit through the title screen.
Here is my result a back button thank you!
Click on the console tab to input code such as
SceneManager._scene.constructor.name
Awesome it work! No more guessing the names of the Scenes. Happy about this thanks the both of you for the quick reply.
Got the answer from ct_bolt. Here is the link he provided me for the exit button thank you again.
ct-bolt.itch.io
[RMMV] Exit Command by CT_Bolt
ct-bolt.itch.io
Original thread: https://forums.rpgmakerweb.com/threads/dose-anyone-know-what-scene-is-this-called-i-cant-figure-it-out.119156/