Be a Supporter!

pc's and spacebar+left arrow?

  • 298 Views
  • 6 Replies
New Topic Respond to this Topic
Bum-Secks
Bum-Secks
  • Member since: Oct. 12, 2005
  • Offline.
Forum Stats
Member
Level 04
Blank Slate
pc's and spacebar+left arrow? 2010-05-05 10:46:57 Reply

So i spent a good 2 days pouring over my script trying to find out why my character wouldn't jump while holding LEFT, SPACE, and pushing UP at the same time. Then i found out the code works perfectly fine if i replace SPACE with any other key, and found out my computer doesn't respond to that key combination, nor does my other laptop wich is also a pc.
-----------
Test this please
http://spamtheweb.com/ul/upload/050510/3 8430_ngtest.php
------------
and let me know if the key combination is letting the character jump or not, I find it strange that both my computers have the same problem.

Neo-13
Neo-13
  • Member since: Jun. 9, 2007
  • Offline.
Forum Stats
Member
Level 23
Programmer
Response to pc's and spacebar+left arrow? 2010-05-05 10:53:06 Reply

At 5/5/10 10:46 AM, Bum-Secks wrote: So i spent a good 2 days pouring over my script trying to find out why my character wouldn't jump while holding LEFT, SPACE, and pushing UP at the same time. Then i found out the code works perfectly fine if i replace SPACE with any other key, and found out my computer doesn't respond to that key combination, nor does my other laptop wich is also a pc.
-----------
Test this please
http://spamtheweb.com/ul/upload/050510/3 8430_ngtest.php
------------
and let me know if the key combination is letting the character jump or not, I find it strange that both my computers have the same problem.

Works fine for me. I think the problem may lie in your keyboard, as every keyboard has a limit to how many keys it can detect at once. I can't remember what it's called (for some reason 'ghosting' comes to mind). My keyboard is supposed to be able to deal with 10 at once, and most cheap keyboards I think can usually manage three, so I guess this might not be the problem. I have had issues with the space bar in Flash games I started developing when I first started learning Flash, but never since.


BBS Signature
Bum-Secks
Bum-Secks
  • Member since: Oct. 12, 2005
  • Offline.
Forum Stats
Member
Level 04
Blank Slate
Response to pc's and spacebar+left arrow? 2010-05-05 11:06:13 Reply

At 5/5/10 10:53 AM, Neo-13 wrote: Works fine for me. I think the problem may lie in your keyboard, as every keyboard has a limit to how many keys it can detect at once. I can't remember what it's called (for some reason 'ghosting' comes to mind). My keyboard is supposed to be able to deal with 10 at once, and most cheap keyboards I think can usually manage three, so I guess this might not be the problem. I have had issues with the space bar in Flash games I started developing when I first started learning Flash, but never since.

I know it's not a flash issue for me, i have this same problem when playing Rumble Fighter (mmo game) with both of my computers, and one of them is only a year old.
oh well, that's what custom key settings are for i guess =P

blubfaceproduction
blubfaceproduction
  • Member since: Aug. 1, 2009
  • Offline.
Forum Stats
Member
Level 12
Blank Slate
Response to pc's and spacebar+left arrow? 2010-05-05 20:35:15 Reply

works fine for me, too. what the guy above said is probably right.


BBS Signature
JoSilver
JoSilver
  • Member since: Sep. 21, 2007
  • Offline.
Forum Stats
Member
Level 17
Melancholy
Response to pc's and spacebar+left arrow? 2010-05-06 01:48:01 Reply

There's nothing you can do about it...

But most important of all it's not your fault.

JoSilver
JoSilver
  • Member since: Sep. 21, 2007
  • Offline.
Forum Stats
Member
Level 17
Melancholy
Response to pc's and spacebar+left arrow? 2010-05-06 01:49:48 Reply

accutally change the arrow keys to the alphbetical keys.

The keys bottom row of your keyboard hate each other the most.

bloo-apple
bloo-apple
  • Member since: Jun. 20, 2005
  • Offline.
Forum Stats
Member
Level 28
Artist
Response to pc's and spacebar+left arrow? 2010-05-06 13:07:13 Reply

At 5/6/10 01:49 AM, JoSilver wrote: accutally change the arrow keys to the alphbetical keys.

The keys bottom row of your keyboard hate each other the most.

it defienetly looks like the actionscript has else statements in it that could be causing the problem.
I would really have to see your code to understand why, there could be a ton of reasons why, but typically problems like this are caused because of if else statements.