How do I bypass the browser gamepad tracking thing?

Get help using Construct 2

Post » Sun Dec 28, 2014 10:30 pm

Everytime I start the game it wont recognize my gamepad (I'm using an x360 controller) unless I first press A,X,Y or B.

If anybody knows a way to go around this I would really appreciate it because I dont want to be prompting the player to press a button on the controller just for it to work... That is just awkward.

Thanks in advance people.
B
6
Posts: 13
Reputation: 477

Post » Mon Dec 29, 2014 4:09 pm

Players need to press a button before the controller can be recognized.

As far as I know, no workaround for that.
Who dares wins
B
57
S
17
G
21
Posts: 1,878
Reputation: 19,562

Post » Mon Dec 29, 2014 5:57 pm

"I dont want to be prompting the player to press a button on the controller just for it to work"
As far as I know, that is what many games do - prompt for input. Ever hear of a start screen?
ImageImageImageImage
B
62
S
19
G
51
Posts: 633
Reputation: 30,826

Post » Mon Dec 29, 2014 9:40 pm

There are security measures in place which make it so the button has to be pressed to start. It won't be awkward for players because it has to be done for every game.
B
61
S
20
G
56
Posts: 1,077
Reputation: 35,986

Post » Thu Jan 01, 2015 9:18 pm

Thank you all. I understand this is a security issue and I redacted my initial post in a wrong way so I apologize if I sounded like a jerk lol. Guess I learned why many games prompt you to press start before seen the main menu. What I wanted was to show the start game/continue/options menu from the very start, but since it doesn't recognize analog/dpad input unless the player presses other buttons, guess I can't do that. I also was worried about a situation where the player starts playing with the keyboard, but decides to connect their controller while playing the game. Guess I will just settle with the compulsory "press start" and handle any situation separately.
B
6
Posts: 13
Reputation: 477


Return to How do I....?

Who is online

Users browsing this forum: Google [Bot], Nicolas951, rayolf and 22 guests