Difference between gamepad/keyboard release button

Get help using Construct 2

Post » Sat Aug 29, 2015 11:28 pm

So I'm having a bit of a problem right now. I'm having a button where when you press it your character runs and when you release it or the direction button you're holding, the character will stop with a forward slide. Now with the keyboard it works fine but sometimes with the gamepad the event don't occur or something (the character stops in place and loop his animation instead of sliding). The code is 100% identical, I use functions that are simply called by button presses.

I can't share the .capx because it's waaay to large but my question is rather: what is the difference between release keyboard button and release gamepad button, if there is any? How does Construct2 handle the two differently and is there something I should know or use them differently from each other? Here's a screenshot of what the input code look like, the right image (keyboard) works flawlessly while the left one (gamepad) have issues with button release:

Image
B
20
S
8
G
4
Posts: 195
Reputation: 3,555

Return to How do I....?

Who is online

Users browsing this forum: jbr190, mekonbekon, plinkie, TRMG and 45 guests