Gamepad not working properly?

Just started using Construct 2? Post your questions here

Post » Fri Mar 21, 2014 7:54 am

I currently have my players dash when the player holds the R trigger, then either pushes the right joystick to the left or right. The idea is very similar to that of Super Smash Bros.

The problem is that I'd like to have the player be able to jump (L trigger) while dashing, but this only works when I dash and immediately let go of the R trigger. Why is it that I can't jump while I'm holding the R trigger? The player is able to jump when I have any other button, so is there something is causing the triggers to not be read while both are down?

Anybody have ideas about this? I've tried a bunch of different events, but I just can't seem to figure it out.
B
5
Posts: 11
Reputation: 272

Post » Fri Mar 21, 2014 9:27 am

You should post your capx, that would make it easier to investigate and see if there is something wrong with your events or with the gamepad integration/support.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
296
S
119
G
96
Posts: 7,328
Reputation: 71,298

Post » Fri Mar 21, 2014 5:46 pm

Thank you for the reply, sorry about that. Here is an example of what I have. Keep in mind that this is just a new project with one event, but it's essentially how I had my other game set up.

Image

The way it is now, I can hold any button down except for the R trigger and still jump. Another thing that I noticed is that if I hold down L trigger ( which is the button to jump) and then press the R trigger (not binded to anything) he will jump for some reason.

Edit: Is this possibly a bug or just something I can correct within the event sheet?
B
5
Posts: 11
Reputation: 272

Post » Fri Mar 21, 2014 10:54 pm

I've just tried with my Xbox 360 controller, on chrome, and I can't replicate the issue you are talking about.
With only this event in the project, holding down the right trigger doesn't seem to have any impact on the left one.

You should post your complete capx (either attach it to the post, or on dropbox or service of the like) and post what controller you use, in what browser on what OS.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
296
S
119
G
96
Posts: 7,328
Reputation: 71,298

Post » Fri Mar 21, 2014 11:07 pm

Ahhhh dang haha! I see, I completely forgot that I had upgraded to the new beta for Firefox and switched to that, instead of keeping chrome as my default browser. But you are right, I wasn't able to replicate the issue on chrome either, just on Firefox beta. Do other versions of Firefox support gamepads? I believe I'm having the blacklist issue on chrome, so it's always stuck on Canvas2D, which is why I wanted to try the beta for Firefox.

Thanks for your help by the way!
B
5
Posts: 11
Reputation: 272

Post » Sat Mar 22, 2014 1:21 pm

Firefox does not support gamepads, but the next version (v29) is noted as supporting it. It should work in Nightly already if you have that.
Scirra Founder
B
402
S
238
G
89
Posts: 24,637
Reputation: 196,071

Post » Sat Mar 22, 2014 6:46 pm

It works perfect on Chrome, but I've tried both v29 Beta and the latest Nightly with both of them encountering the same gamepad issue.
B
5
Posts: 11
Reputation: 272


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 2 guests