Gamepad Support / Multiplayer

Discussion and feedback on Construct 2

Post » Tue Jul 16, 2013 11:35 pm

So I was thinking of making a little game like TowerFall (multiplayer battle game) when I realized...C2 doesn't really have gamepad support nor can it distinguish different input devices, correct? How would one go about this?Tokinsom2013-07-16 23:38:08
Image
B
238
S
28
G
13
Posts: 1,787
Reputation: 18,485

Post » Wed Jul 17, 2013 1:20 am

Use gamepad Index each sprite player.

If your specificed gamepad doesn't support, please report to chrome bug page in following instruction.

https://github.com/GoogleChrome/chrome-gamepad-probe

Paste the output in a new bug, they'd be happy to add support in future versions of Chrome.

They have to add each specificed DirectInput gamepads.
B
96
S
34
G
29
Posts: 3,139
Reputation: 28,236

Post » Wed Jul 17, 2013 1:54 am

The gamepad object doesn't detect my gamestop xbox 360 controller nor my PS2 controller... Also GamepadID returns a string with manufacturer and model..what about the controller number (1-4)? Doesn't look like this is ready to use yet :T Also it doesn't look like you can arm key codes with a gamepad either..hrrrgg.Tokinsom2013-07-17 02:02:23
Image
B
238
S
28
G
13
Posts: 1,787
Reputation: 18,485

Post » Wed Jul 17, 2013 2:02 am

It's mapping problem, you should report to Chromium bug page. I've tested other gamepads worked like charm in html5 games.
B
96
S
34
G
29
Posts: 3,139
Reputation: 28,236

Post » Wed Jul 17, 2013 2:52 am

Is there a list of currently supported gamepads?
Image
B
238
S
28
G
13
Posts: 1,787
Reputation: 18,485

Post » Wed Jul 17, 2013 3:50 am

I've tested with both the 360 controller and a PS2 generic controller using x360ce (which emulates a 360 joystick) and both worked just fine.

Controller number is 0-3, not 1-4. Maybe that's your problem?
B
121
S
41
G
40
Posts: 841
Reputation: 27,857

Post » Wed Jul 17, 2013 4:03 am

[QUOTE=Tokinsom] Is there a list of currently supported gamepads?[/QUOTE]

They didn't publish a list, it must be small list of generic gamepads because different countries offer unique gamepads that Chromium developers can't access to gamepads, it's bad due to DirectInput gamepad.Joannesalfa2013-07-17 04:03:51
B
96
S
34
G
29
Posts: 3,139
Reputation: 28,236

Post » Wed Jul 17, 2013 5:50 am

You just need to practice with the plugin more, it's pretty easy to do this stuff.
B
140
S
71
G
17
Posts: 1,773
Reputation: 20,511

Post » Wed Jul 17, 2013 12:53 pm

Rofl. It's not like it's difficult. It just doesn't pick up any of my *totally standard and commonly used* gamepads that all of my machines & everything else have for the past 10+ years, so I haven't been able to test it at all. Doesn't seem reliable in any way.Tokinsom2013-07-17 13:05:56
Image
B
238
S
28
G
13
Posts: 1,787
Reputation: 18,485

Post » Wed Jul 17, 2013 8:59 pm

Make sure the right drivers are installs. Since MS makes the 360 the controller is supported by default. However PS2/3, and many of the others likely require either custom drivers or other support.
B
90
S
18
G
9
Posts: 2,455
Reputation: 15,013

Next

Return to Construct 2 General

Who is online

Users browsing this forum: Yahoo [Bot] and 3 guests