Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Too many keystrokes?

Author
Message
Catalyst
22
Years of Service
User Offline
Joined: 6th Sep 2003
Location:
Posted: 1st Aug 2004 20:59
When too many buttons are being pressed on my keyboard, it starts missing certain ones. I know certain things, like keypad up+left along with spacebar, won't work. But also with just letter keys, too many buttons and it misses some. I remember long ago and far away I used to play two-player games on one keyboard and never noticed it skip a keystroke. Anyone else have this issue at all? Maybe I just need to upgrade to one of those newer and faster keyboards. Or just stick to overclocking my current keyboard.

Here's an example of my code

klft1 was used to make user-binding easier on a different part of my program, and lft1 is the variable watching to see if it's time to move left. I've got 16 different keys that can be pressed, it's for a fighting game. If players 1 and 2 are both jumping while moving and trying to kick, it's a guarantee that one of them won't be able to kick each time they try to.
OSX Using Happy Dude
22
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 1st Aug 2004 21:01
Yes, it affects all PCs (and most other older computers as well).
Nothing you can do about it really.


Come to the UK Convention on the 23rd & 24th of October
Catalyst
22
Years of Service
User Offline
Joined: 6th Sep 2003
Location:
Posted: 1st Aug 2004 21:04
Figured so, just wanted to make sure. Thanks.
Lost in Thought
22
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 2nd Aug 2004 03:11
Also make sure you do not have any wait commands in your loop. This will also cause missed key strokes.

Login to post a reply

Server time is: 2026-06-12 22:41:13
Your offset time is: 2026-06-12 22:41:13