-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhancement: Exit Game Button on Title Screen #2699
Comments
def something that's been in my brain, will add this to our task queue 🙂 thanks! |
Do we actually have this feature? |
#if desktop
if (FlxG.keys.justPressed.ESCAPE)
{
openfl.Lib.application.window.close();
} It appears to be somewhat implemented. |
Hold on, I might be getting this issue confused with one asking for a clickable exit game button |
All good! I was thinking of #2807 |
Also, I'm gonna try to change this so it uses the bound BACK key rather than hardcoding to ESC |
Please check for duplicates or similar issues before creating this issue.
What is your suggestion, and why should it be implemented?
Currently the only way to close the game is by closing the window itself, but in fullscreen this means having to go to windowed mode first.
This is of course a really minor inconvenience but it would make sense to have some kind of "Are you sure you want to exit?" kinda thing pop up when you press back on the title screen or something which then closes the game if selecting yes. Almost every game has this so I think it would make a lot of sense to have it as a simple quality of life feature.
The text was updated successfully, but these errors were encountered: