HTML 5 Gamepads?

Chat about anything not covered in these forums, but keep it civil!

Post » Sat Nov 16, 2013 7:31 pm

I'm in the market for a gamepad to play HTML5 games. Any recommendations?
B
14
S
3
G
1
Posts: 87
Reputation: 1,103

Post » Sat Nov 16, 2013 7:37 pm

Depends on whether the game supports controllers or not.
If it does, the Xbox 360 controller is cheap and works well.
If if it touch/mouse-reliant, wait for the steam controller or just use a laser mouse/keyboard.

With XPadder you can simulate a mouse with the X360-controller afaik, but obviously it won't be as good as the Steam Controller or a mouse.
Visual Novel 'Engine' in 100 Events
if you ever have to choose between buying Construct 2 on scirra.com or on Steam, read this: Review
B
22
S
9
G
1
Posts: 787
Reputation: 3,786

Post » Sat Nov 16, 2013 9:42 pm

Thanks. What I'm talking about are games that support the WC3 gamepad API. Does the Xbox 360 controller work on the PC/Mac or is it only for the Xbox 360?
B
14
S
3
G
1
Posts: 87
Reputation: 1,103

Post » Sat Nov 16, 2013 9:49 pm

I second the recommendation for Xbox360 controller...you can get a usb version, they are very comfortable, super sturdy/reliable, not too expensive, and work fantastically with C2 made games. They also work fine with Mac's and I'd assume also Linux, though never tested that. ;)

-Mike
B
49
S
9
G
4
Posts: 425
Reputation: 7,037

Post » Sat Nov 16, 2013 10:06 pm

The XBox 360 controller works best with the Gamepad object, AFAIK.
Scirra Founder
B
387
S
230
G
88
Posts: 24,251
Reputation: 192,454

Post » Sat Nov 16, 2013 10:07 pm

It's not nice to force all users to buy Xbox 360 gamepad which works best.

However, Unity3D supports all gamepad that modern browsers don't work.
B
97
S
35
G
29
Posts: 3,139
Reputation: 28,361

Post » Sun Nov 17, 2013 3:27 am

Thanks for the recommendations. The Xbox 360 controller isn't what I'm looking for, but since it's so popular, I'll pick it up. I'm looking for a controller that works with the W3C gamepad API.


[QUOTE=Joannesalfa] It's not nice to force all users to buy Xbox 360 gamepad which works best.

However, Unity3D supports all gamepad that modern browsers don't work.[/QUOTE]

This gamepad is for me. The game I'm working on has several control options (touch, virtual gamepad, keyboard, physical gamepad). I wouldn't expect anyone to buy a controller just to play a game.
B
14
S
3
G
1
Posts: 87
Reputation: 1,103

Post » Sun Nov 17, 2013 1:24 pm

Nobody's forcing you to buy an XBox 360 controller, and several other kinds of controller should work fine. However Windows has drivers for it pre-installed, some other systems support it by default, and C2's Gamepad object uses the XBox 360 controller buttons as the standard button set which other controller buttons are mapped to, so it's generally the easiest controller to use.

Also note I think the wired controller is cheaper and works out of the box - using the wireless controller with a PC requires some driver installation IIRC.Ashley2013-11-17 13:25:10
Scirra Founder
B
387
S
230
G
88
Posts: 24,251
Reputation: 192,454

Post » Sun Nov 17, 2013 9:37 pm

That's a good point about a plug-in and play controller. So the Xbox 360 controller is the default controller that everything is mapped to in C2? Do you plan to add iOS 7 controller support?

It would be nice if there was a universal controller. I think a W3C controller would be the closest thing to that. I can see Firefox and Chrome supporting the API. Now if someone would just make one.
B
14
S
3
G
1
Posts: 87
Reputation: 1,103

Post » Sun Nov 17, 2013 9:49 pm

Xbox 360 uses Xinput, it would support all modern browsers, but DirectInput gamepads doesn't.

Chrome won't fix an unsupported USB gamepad due to: some stability issues with DirectInput on Windows causing browser crashes, so they've dropped DirectInput gamepad support.





https://code.google.com/p/chromium/issues/detail?id=260122
B
97
S
35
G
29
Posts: 3,139
Reputation: 28,361

Next

Return to Open Topic

Who is online

Users browsing this forum: No registered users and 0 guests