nczempin / Turres-Monacorum

scifi tower defense made with löve2d and lua
http://nczempin.github.io/Turres-Monacorum/
Other
52 stars 10 forks source link

escape key should work in paused gamestates #115

Open nczempin opened 10 years ago

Supersonic112 commented 10 years ago

What exactly do you mean when you say "paused gamestates"? If it's the countdown and the mission start message: These only need to be ported to the new game overlay system because that does not block key inputs (it should receive the ability to block some keys and mouse clicks, though). Check /layer/notification.lua for a reference on what game overlay files should look like.

nczempin commented 10 years ago

countdown and mission starts for sure, but those are only the ones that was immediately aware of. Escape should work at any time. I guess from the general game state it should go into "paused" mode, in which it'll ask you if you want to go back to the main menu or continue playing. Later on it can be expanded so you can change settings and still continue playing the game where you left off.

I guess the second part would be an entirely separate issue: You should be able to resume a game at any time. Even when you've quit, I guess. A bit like in Android.