New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simplepause #2149
Simplepause #2149
Conversation
removed this dependency from World.
Game is paused when PAUSE on the keyboard has been hit. It can also be unpaused this way.
: The game is (un-)paused by <PLAYERNAME>
I have added some notes to your commits. Generally looks good. |
Check that your timer stuff doesn't clash badly with the KOTH ui, which also shows just below the timer. |
Does the pause/unpause work properly in replay? |
Let's have this on F3 as well. Not everyone has a hardware PAUSE key anymore. |
Chris, I'll continue working on it next weekend. |
I've put this ticket in the release milestone for this Saturday. I'd |
Have done some testing, seems to work great. |
Hi Chris, Sorry for the delay. Is there still work to do? Or is it all finished yet? Possible solutions are: MM:SS (paused) The first one does not fit in a 800x600 window. I have time Wednesday to make the proper adjustments. Please let me know. |
800x600 is below the minimum resolution anyway. The UI is set up for 1024x768 or higher. |
Screen resolution should be 1024x786+
Removed if-else branch in favour of sugar construct a?b:c. Note: One should (at least) consider to move var client = ... to the start of the switch construct. 4 branches of this switch are using this. (DRY)
Merged |
The what: This branch demonstrates the possibility of a pause function for the OpenRA game engine.
The why: when playing with a friend or family member, it is sometimes desired to pause the game. For instance to get a drink or something to eat, when the phone rings, etc. Pausing the game will not ruin your life then, and it also won't ruin your game.
The how: the usage is very simple now. During the game, one can press the PAUSE key on the keyboard, and the game will pause. The game can be un-paused by pressing the key again.
In the background the following is done to make this work:
Note: pause messages are immediate orders (so one can unpause).
Some remarks:
Possible future extentions: