Feature Suggestion: Keyboard - Any Key Is Down

Discussion and feedback on Construct 2

Post » Fri Jun 29, 2012 11:15 pm

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! TL222012-06-30 02:32:50
B
57
S
20
G
7
Posts: 305
Reputation: 8,779

Post » Fri Jun 29, 2012 11:17 pm

It's good, i hope it doesn't matter an issue if we do keydown with 2 or more keys.
B
96
S
25
G
20
Posts: 3,052
Reputation: 22,638

Post » Fri Jun 29, 2012 11:56 pm

Just curious... When would you use this?
B
90
S
30
G
24
Posts: 3,189
Reputation: 32,400

Post » Sat Jun 30, 2012 12:42 am

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?
B
57
S
20
G
7
Posts: 305
Reputation: 8,779

Post » Sat Jun 30, 2012 1:04 am

I guess that could work. Of course, it's not that much trouble asking them to press a certain key, right?
B
90
S
30
G
24
Posts: 3,189
Reputation: 32,400

Post » Sat Jun 30, 2012 2:31 am

Right. Like I said, it's not an important feature, but it'd be useful to have.
B
57
S
20
G
7
Posts: 305
Reputation: 8,779


Return to Construct 2 General

Who is online

Users browsing this forum: glerikud and 16 guests