Hi, there!
I've been looking for a plugin that allows players to quit the game. This is to prevent the player to use ALT+F4 to shutdown the game (Specially in my case since I'm using a fullscreen plugin)
I would like it to be only for the ESC Menu since I have a Title Screen Plugin and I wouldn't like to have conflict with the 'Game Shutdown' option.
Thanks in advance!!
you can event that or use YEP_MainMenuManager, in case you have it,
use exit(); and the game closes.
I alter GameEnd to close the game when pressed on "shutdown" but the plugin
is out there, Just need to find it.
there are a couple that has it, some basic, some advanced with many features.
depending if you want it simple or not.
It depends how the gameEnd is drawing. if it's through windowskin, I can fix that,
else I need the plugin. (I check his menu plugin, report back in a minute.
This is a very basic GameEnd named "Shutdown", no params though,
both on Title scene and GameEnd.
while the commands are overwritten, I hope you dont use sceneTitle or GameEnd
alter plugins else I can alias those in case if it needs too.
you can rule out the title Scene if you wish with /* and below */ or remove the entire
SceneTitle code.
However, if you wish to keep credits from a different plugin, you can edit it, or alias the
Scene_Title, where the credits will be added.
EDIT:
if you use YEP_CreditPage, place it below and it will be added to the title scene, same
is true for other credit pages. but place GameEnd above the Scene Title plugins 🙂