Feature Suggestion: Keyboard - Any Key Is Down

0 favourites
  • 6 posts
From the Asset Store
Piano Tiles with Sound Keys - I don't have 50 words to type here
  • Just thought of a useful little condition that could be added. The Keyboard object has the ever useful conditions "Key is Down", "On Any Key Pressed", "On Key Pressed", "On Key Released", but it'd be most excellent if the conditions "Any Key Is Down" and "On Any Key Released" could be added.

    Just a thought for a future build! <img src="smileys/smiley2.gif" border="0" align="middle" />

  • It's good, i hope it doesn't matter an issue if we do keydown with 2 or more keys.

  • Just curious... When would you use this?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Let's say you want to be able to charge key presses, no matter what key is being held down, and then release that charged key press. It'll keep track of the charge time in a variable, and then you can call that charge time in any other event farther down the line.

    Another use might be in dialogue systems, where in order to hasten the write speed of text you could just hold down any button or key, and release whatever you held to let it return to normal write speed. It would save having to make an endless OR block with each possible key.

    I'm sure there are other uses other folks could come up with too, but that's the train of thought that prompted this suggestion. I figure since it's just a couple variations on the other conditions it probably wouldn't be a big deal to implement, and it would add even more flexibility for such "small" features.

    When might you use it?

  • I guess that could work. Of course, it's not that much trouble asking them to press a certain key, right?

  • Right. Like I said, it's not an important feature, but it'd be useful to have.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)