Holding pause button down should not unpause/pause

Holding pause button down should not unpause/pause

Requests for features in the spring code.

Moderator: Moderators

Post Reply
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Holding pause button down should not unpause/pause

Post 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)
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Re: Holding pause button down should not unpause/pause

Post by TradeMark »

who agrees? NOBODY?
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: Holding pause button down should not unpause/pause

Post 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.
User avatar
Vadi
Posts: 446
Joined: 03 Jan 2008, 14:51

Re: Holding pause button down should not unpause/pause

Post 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.
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Re: Holding pause button down should not unpause/pause

Post 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.
User avatar
Vadi
Posts: 446
Joined: 03 Jan 2008, 14:51

Re: Holding pause button down should not unpause/pause

Post 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)
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Re: Holding pause button down should not unpause/pause

Post 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.
User avatar
Pxtl
Posts: 6112
Joined: 23 Oct 2004, 01:43

Re: Holding pause button down should not unpause/pause

Post 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.
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7052
Joined: 16 Nov 2004, 13:08

Re: Holding pause button down should not unpause/pause

Post 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.
Post Reply

Return to “Feature Requests”