![]() Well, you can get my closeGameAndroidEx for FREE from the Game Maker Marketplace. To show the popup with your customized messages.ĬloseAndroidGame(“Are you sure you want to quit this awesome game?”, “Yes”, “No”) However, as in my case, you may need, or may want, to show an Android native popup, instead, to be sure, for example, that it will be above all the graphics, that it will pause the game and that it is runned in a dedicated activity.įor this reason, I’ve created the closeGameAndroidEx Extension for Game Maker Studio.ĬloseAndroidGame(String messageString, String yesString, String noString) Then, you’ll have to create your own quit popup and call game_end() when the user clicks “yes”, or dismiss it if the user clicks “no”. In Game Maker, you can handle the Android native back button just with the “Release Backspace” event,Īnd, from there, handle all the navigation untile the main screen. Once there, by clicking the back button again the users expect to close the game.Īnd, usually, a popup message like “Are you sure you want to quit? – Yes – No” is shown at this point. ![]() Regarding the back button, it should close any window, message or popup, and it should bring the navigation back until the main menu. Google offers its navigation guidelines, for giving the users always the same experience. Handling the Back Button within your game is really important.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |