-
-
Notifications
You must be signed in to change notification settings - Fork 49
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
Pause key does not work in Windows - takes long time to kick in (up to 4 minutes) #1027
Comments
Hmm... On Linux, when you hit Pause/Break... the game stops. When you hit Pause/Break again, the simulation starts up again. Interestingly enough, while I was testing this, I was looking at the Serenity space station. When unpausing the game it fully disappears for a second or so. |
Interesting. I'll have to try waiting a bit longer in Windows and see if it behaves the same way. Regardless, it probably should not take a minute for pause to kick in. Edit - I tried this. Waited about 4 minutes, and the game remained locked up. At first, the music continued to play for about a minute, but eventually stopped. The screen remained frozen. However, no "paused" graphic ever appeared. Pressing the Pause/Break again had no effect. |
FYI - the @royfalk I wonder if there's a better way that we could implement the Pause...but it'll probably take a bit to figure out. @kheckwrecker do you see anything popping up in the logs to denote that the correct key was pressed?
that's the first thing to check. |
Refactor the main loop. Extract keyboard to its own thread. Pause everything else. |
I ran the latest beta of release 0.9 to try pausing again and just wait and see what happens. The first time, about 2 minutes after pressing the Pause key, the word "Paused" appeared in the middle of the screen. The second time I tried, it took over 4 minutes before "Paused" appeared. Interestingly enough, when you hit the Pause key again, the game unpauses immediately. Bottom line, I think there's a problem with the Pause key function if it takes a long time to kick in. Also, there was nothing in the log file, but please remember that the Windows builds are not generating anything like a stdout file, so that may not be surprising. |
Manual and screen says game can be paused by hitting the Pause key or the "|" key (shift+). All that does in Windows is lock up the game. Hitting either or both do not unpause the game and leaves it locked up. I'd be interested in whether this works in Linux.
The text was updated successfully, but these errors were encountered: