I want my game to lock the player inside it. Players can only exit the game is by going to the title screen and shutting down from there. but I don't want players can control the 'to the title screen'. request:
1. hide the 'to title screen' from main menu
Players has 3 ways to go to the title screen:
losing or/and died will automatically force the player to the title screen.
the next is the shutdown. I'm only aware that there are 3 ways to exit the game, and think can create a plugin to deny them?
2. no 'alt + F4' close the game
3. no using the top right corner X (close button) to close the game
4. no using 'task manager' to close the game
if impossible, think can a plugin that runs a common event every time they close the game not through the title screen?
before they close the game, the game run event that increases variable and switch (they're global) and do 'DataManager.saveSyncData()'
1. hide the 'to title screen' from main menu
Players has 3 ways to go to the title screen:
- from the save point,
- losing certain battle or by event,
- or the last dread. kill yourself.
the next is the shutdown. I'm only aware that there are 3 ways to exit the game, and think can create a plugin to deny them?
2. no 'alt + F4' close the game
3. no using the top right corner X (close button) to close the game
4. no using 'task manager' to close the game
if impossible, think can a plugin that runs a common event every time they close the game not through the title screen?
before they close the game, the game run event that increases variable and switch (they're global) and do 'DataManager.saveSyncData()'