The Escape Button is a Feature

Now that you can build and test your game, you may have realized that you can only quit your game by clicking close window button if you are playing it in a windowed mode.

Evenmore, if you select the Fullscreen Window setting, build and run the game, you might realize that it will be impossible for you to quit the game without the Alt+F4 setting. Why?

Simply, your game is missing a key (or a button) which is assigned for quitting your game. It’s really easy. You need to add a button or assign a key for this purpose. The method


simply quits the application. So, make sure to have this option in your game manager script :).