Dariasteam / Cows-Revenge

Casual platform game project for learning purposes
Other
37 stars 9 forks source link

Exit button in main menu #6

Closed basxto closed 6 years ago

basxto commented 6 years ago

On android and also with gamepad it would be helpful to have a exit button for closing the game Right now one has to kill the app on android

Dariasteam commented 6 years ago

I'm working on it but really love the way the menu look right now. What do you think about using no visual reference but if you press the cancel button in main menu it close the game?

basxto commented 6 years ago

That would be nice indeed, but still not helpful on android. Some games just have a small exit button in the corners (cross, door)

Dariasteam commented 6 years ago

You mean not hepfull in android when you are not using gamepad right? I can allow using the native android back button in that screen to close it.

basxto commented 6 years ago

The native back button already works, but you have to swipe in the controls first.

Dariasteam commented 6 years ago

I would swear I had disabled it to avoid exiting in the middle of a level. Need to fix that. About the corner button, something like this? imagen

basxto commented 6 years ago

yes, something like that

Dariasteam commented 6 years ago

Pushed, both cancel button and on screen button methods https://github.com/Dariasteam/Cows-Revenge/commit/192150594e3e95fb29faf285c83460f16b2ffa45