A Flash Developer Resource Site

Results 1 to 8 of 8

Thread: Keyboard:Left + UP + SPACE combination ?

  1. #1
    Senior Member SlimSlaby's Avatar
    Join Date
    May 2005
    Posts
    158

    Keyboard:Left + UP + SPACE combination ?

    Has anyone been able to successfully catch this key combination simultaneously ?

    I can catch this combination using the number pad, but not using the arrow keys on the main part of the keyboard.

  2. #2
    Senior Member
    Join Date
    Jan 2008
    Posts
    150
    I think that's actually a limitation of keyboards- the way they send their signals doesn't allow for simultaneously pressing certain combinations of 3 keys.

    Do you have any commercial games that register all three of those keys at the same time?

  3. #3
    Senior Member
    Join Date
    Feb 2005
    Posts
    1,836
    There are a lot of games I believe. Try Little Fighter 2. You can have several players on the same keyboard. I've played it with up to 2 players. That's holding at least 2 keys to move, and maybe another key for a combat move. This is two players at the same time.
    .

  4. #4
    Senior Member SlimSlaby's Avatar
    Join Date
    May 2005
    Posts
    158
    Swak -- The question is regarding that specific combination of keys.

    Multiple keys is not the issue, I can track multiple keypresses. Just not that combination. Try it.

  5. #5
    Palindrome emordnilaP Diniden's Avatar
    Join Date
    Feb 2008
    Posts
    230
    You were right slim, my keyboard only tracks max two presses at once (which I think is slightly a standard for toshiba laptops). I have issues multiplayer in lf2 on my laptop :S

    Best thing to keep in mind though is that little fighter only needs to register one key at a ime for abilites etc. Instead of doing key entries, think of key sequences...even console games avoid using simultaneous inputs of three...

  6. #6
    Senior Member
    Join Date
    Feb 2005
    Posts
    1,836
    You're right. I tested it out in ev nova and right-up-space work fine but not left. I don't understand why this works that way. So my keyboard does register 3 keys just not that combination. http://www.extremetech.com/article2/...1610435,00.asp This talks about having up to 6 combinations available.
    .

  7. #7
    Senior Member
    Join Date
    Jan 2008
    Posts
    150
    I think the internal math it does ends up giving the same result for certain combinations involving space, shift, and maybe some others.

    I don't think caps lock has the limitation though (just guessing off the top of my head here,) so maybe you could use that instead?

  8. #8
    Senior Member
    Join Date
    Jan 2008
    Location
    UK
    Posts
    269
    I've come across the same problem with a game I was writing recently too. On my desktop, I had no problems, but on my laptop, I was unable to capture left+down+space. If you are using the arrow keys for movement and need a third action key, then the only real solution I know of is to have the option of using the mouse button instead of the spacebar. It's a pain, though, as the mouse is far from ideal in Flash games because it doesn't register outside of the Flash window. I would love to know if anyone has an elegant solution to this. Perhaps we should create a little key-combination tester in Flash and conduct a survey, to see if we can identify any combinations of keys that always work for everyone.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center