Closing Game

So, I tried the script call that was on the list for mv, but it doesn't close out the window. I am trying to make it so that when the Exit game choice is selected on my main title screen it closes out the game. What is the script call for that? I tried this: But it won't close the game out. Any and all help is appreciated.
SceneManager.exit();
Works fine for me.
Works fine for me.
I made one of my maps as my title screen, but when I hit exit game the window itself doesn't close.
1711854688460.png

After I hit Exit Game:
1711854721365.png

1711854889911.png

Also, when I put my character to start on the green spot of the map they show up in the top left corner instead. Why is that?
1711854792378.png

1711854828320.png
Is your installation up to date? Do you have anything in your plugins that tempers with e.g. SceneManager.terminate()?
Considering that the function calls a native browser command:
JavaScript:
SceneManager.terminate = function() {
    window.close();
};

So there is something blocking this, and as far as I know there is only one way for this to happen as far as I remember.

Edit:
I managed to reproduce the error, the game freezes, which is the same as what happened here:
Considering that the function calls a native browser command:
JavaScript:
SceneManager.terminate = function() {
    window.close();
};

So there is something blocking this, and as far as I know there is only one way for this to happen as far as I remember.

Edit:
I managed to reproduce the error, the game freezes, which is the same as what happened here:
Why does the game freeze? It shouldn't be due to any of my plugins. None of them should cause the closing of the game to freeze.
Is your installation up to date? Do you have anything in your plugins that tempers with e.g. SceneManager.terminate()?
Yeah. I go through steam so if it has an update, it will do the update automatically.
Are you by chance using SRD_SuperToolsEngine / SRD_HudMaker?
If i remember correctly one or both may be interfering with this, probably because it creates a second window.
It shouldn't be due to any of my plugins.
Please try it on an empty project to see if the problem persists.
Are you by chance using SRD_SuperToolsEngine / SRD_HudMaker?
If i remember correctly one or both may be interfering with this, probably because it creates a second window.
I am using those actually. I will try it without them and see if the problem still happens.
Edit: Just tried it and it was due to that plugin. Do I actually need the Tools engine to be able to use any of his other plugins or no?
Edit 2: Found out that it is not needed to use his other plugins. Good to know. Thanks for all the help.
I am using those actually. I will try it without them and see if the problem still happens.
Edit: Just tried it and it was due to that plugin. Do I actually need the Tools engine to be able to use any of his other plugins or no?
You need SRD_SuperToolsEngine to use SRD_HudMaker.
You need SRD_SuperToolsEngine to use SRD_HudMaker.
Well, the only ones I am using is the damage popup and the slip damage. So I am good. Thanks for the info and the help.

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/closing-game.167337/