OpMon-Archive
OpMon-Archive copied to clipboard
Add a confirmation before quitting the game
This functionality would prevent people pressing escape and closing the game by mistake. But it's also a pretext to create a dialog box system in the game, which would be useful also for asking other kinds of confirmations.
Do you want to create the whole system by yourself or are you ok with using some existing system ? On the official SFML forums, two GUI modules are pretty active : TGUI and SFGUI, maybe one of them will be what you're looking for !
I'll check them when I'll have the time!