ihhub / fheroes2

fheroes2 is a recreation of Heroes of Might and Magic II game engine.
https://ihhub.github.io/fheroes2/
GNU General Public License v2.0
2.58k stars 360 forks source link

Editor: Exit option should redirect back to game main menu #8720

Open admmlk opened 1 month ago

admmlk commented 1 month ago

Preliminary checks

Describe the problem requiring a solution

EXIT button on editor menu popup (the one with NEW / LOAD / SAVE map) closes the application completely. Since the editor is now a part of the game application, EXIT option could just redirect back to game main menu.

Describe the possible solution

EXIT button in editor redirects to game MAIN MENU.

Additional info

version 1.1.0 on Android 5.1.1

ihhub commented 1 month ago

It behaves the same way as you play the game on the Adventure Map: it exits the application, not to go to the Main Menu.

zenseii commented 1 month ago

I think a better solution is to add a new button that says "MAIN MENU" because EXIT should close the app. Btw we have a hotkey for going back to the main menu. By default it is M.