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
85
S
30
G
8
Posts: 308
Reputation: 10,562

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
34
G
29
Posts: 3,138
Reputation: 28,234

Post » Fri Jun 29, 2012 11:56 pm

Just curious... When would you use this?
B
92
S
31
G
24
Posts: 3,191
Reputation: 32,664

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
85
S
30
G
8
Posts: 308
Reputation: 10,562

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
92
S
31
G
24
Posts: 3,191
Reputation: 32,664

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
85
S
30
G
8
Posts: 308
Reputation: 10,562


Return to Construct 2 General

Who is online

Users browsing this forum: jobel, technofou and 6 guests