yiotro / Antiyoy

A source code of android game called 'antiyoy'.
421 stars 53 forks source link

Back button should resume, not go to main menu #60

Open tewalds opened 6 years ago

tewalds commented 6 years ago

On Android when I'm in a game then click the menu button then click the Android back button I expect it to resume the game, not go to the main menu and exit the game, dropping my progress. If you want to go back to the menu at least offer to save your progress before throwing it away. This has bitten me multiple times where I'd invested 10s of minutes.

yiotro commented 6 years ago

I recommend you to enable 'Autosave' in game options, this way you won't lose your progress so easily.

About back button behavior: on PC pressing ESC usually resumes the game, but on android pressing back button many times almost always should take you to your launcher. You try it with almost any app and it should work. So expected behavior of back button for android is different from the PC one.

Maaartinus commented 5 years ago

Even with Autosave, you still lose the game history. Consider keeping the whole state (independently of Autosave) and adding a "forward" button like in Chrome on Android (it undoes the last "back"). Actually, in the main menu, I'd call it "resume".