Gamepad issue, no "On Button Pressed"?

Get help using Construct 2

Post » Sun Sep 16, 2012 12:21 am

Hey, i got a quick question regarding the gamepad. I'm noticing that there is no "On button pressed" (like there is for the keyboard) available for the gamepad.

This generally works ok in terms of gameplay, but for menu and GUI systems, its really hard to tame. For example in my main menu - navigating purely with "While dpad down" makes it cycle extremely quick through the menu/buttons, even if i just press it really fast.

Are we missing a "on button pressed" action, or am i doing something wrong?
B
34
S
11
G
9
Posts: 189
Reputation: 8,595

Post » Sun Sep 16, 2012 4:23 am

Simply create a sub event for the button pressed

on Button down
Trigger once while true
B
27
S
11
G
1
Posts: 246
Reputation: 5,048

Post » Sun Sep 16, 2012 2:29 pm

Ahh, i feel stupid now. But thanks alot :)
B
34
S
11
G
9
Posts: 189
Reputation: 8,595

Post » Sun Sep 16, 2012 3:21 pm

While @Erndog2k's workaround will work, we're aware of this oversight and hopefully it will be added in the next build or two.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580

Post » Sun Sep 16, 2012 3:36 pm

That sounds good, thanks :)
B
34
S
11
G
9
Posts: 189
Reputation: 8,595


Return to How do I....?

Who is online

Users browsing this forum: DiabloOvermind, emoticon, odiusfly, randomly and 19 guests