Page 1 of 1

Holding pause button down should not unpause/pause

Posted: 23 Mar 2008, 17:09
by TradeMark
Could this be fixed, when it lags, and i want to pause the game, it doesnt always read my key commands, so i need to press it longer time so it would notice it, but this causes unpause/pause spam.

Would be better if it changed the state only once while you hold it down, and you need to release the button and then press it down to make it change state again.

Anyone understood?

Though, this would be much better if i could pause the game even when it lags like hell, so it would read my keyboard before it renders the game. 8)

Re: Holding pause button down should not unpause/pause

Posted: 28 Mar 2008, 15:41
by TradeMark
who agrees? NOBODY?

Re: Holding pause button down should not unpause/pause

Posted: 28 Mar 2008, 16:36
by Argh
If the game's running so slowly that it doesn't see the command yet, yet Windows, which handles and caches those commands, sees that something has repeatedly been hit, then the only way to get out of that, that makes any sense, is to let the repeats occur.

The only way I can think of getting around that would be by ignoring any repeats of a pause-sim command for, say, a half-second of clock time. That'd still give you some trouble, but not as much.

Re: Holding pause button down should not unpause/pause

Posted: 28 Mar 2008, 16:58
by Vadi
I don't have a problem with the pause command, it's pretty instant for me. Other commands like cam movement do lag up though when you have the game on x3 speed and a ton of units fighting about.

Re: Holding pause button down should not unpause/pause

Posted: 28 Mar 2008, 17:20
by TradeMark
Vadi wrote:I don't have a problem with the pause command, it's pretty instant for me. Other commands like cam movement do lag up though when you have the game on x3 speed and a ton of units fighting about.
you understood me wrong, i guess.

what i meant is:

hold down the pause button, and it makes spam:

game has been paused
game has been unpaused
game has been paused
game has been unpaused
game has been paused
game has been unpaused
game has been paused
game has been unpaused
game has been paused
game has been unpaused

when it should only make:
game has been paused

and when you press it again it should make:
game has been unpaused

its unlogical to make it pause/unpause when its hold down, like anyone would want to do that.
and when its lagging like hell, its impossible to pause the game, because i cant know when it catches my pause command, so i need to hold it down longer, and then it makes pause and unpause, so i end up pausing the game with luck.

Re: Holding pause button down should not unpause/pause

Posted: 28 Mar 2008, 18:42
by Vadi
What's wrong with tapping the key?

:?

(though, if it's an easy fix, it should be in. Doesn't make much sense to repeatedly toggle something)

Re: Holding pause button down should not unpause/pause

Posted: 28 Mar 2008, 18:45
by TradeMark
i just said... when it lags LIKE HELL, it doesnt always react my key presses. and the pausing comes in a delay when i have paused it (if it even reacted to it) so i need to press it longer, and its impossible to know what is long enough, and what is too long.

Re: Holding pause button down should not unpause/pause

Posted: 28 Mar 2008, 18:55
by Pxtl
In general, the event handling is a little messy and could use some TLC. My pet peeve is the crap that happens when the frame-rate drops - the accidental-dragging peeves me off.

Re: Holding pause button down should not unpause/pause

Posted: 30 Mar 2008, 05:18
by zwzsg
I agree. Managing to pause the game when it lags is quite hard, because:
- Tapping make the keypress ignored.
- Keeping the key down may pause and unpause.