Gamepad API

0 favourites
  • 9 posts
From the Asset Store
Integrate Telegram Payments API into your Construct 3 projects for seamless in-app payment processing.
  • Ashley, I just found this on the internet. Might be usefull for C2 some day?

    http://active.tutsplus.com/tutorials/games/an-introduction-to-the-html5-gamepad-api/

  • Would be great if it works out for C2. 8D

  • We're definitely going to support that the minute browsers do, but right now there's only a one-off developer build of Firefox that supports it - no mainstream browsers support it yet. Hopefully in a few months at least Chrome and Firefox will support it and then we'll make a plugin pronto!

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • smitchell, thanks greatly for posting this link! The demo works with my Logitech Dual Action controller - even if it's the 5/6/7/8 trigger buttons that control the movement and not the joysticks or D-pad. Still, I'm guessing that's just a matter of reconfiguring the button press assignments.

    And, as Ashley says, it's only the one-off developer build of Firefox that currently supports it.

    Still, I can anticipate loads of fun ahead!

  • No probs <img src="smileys/smiley1.gif" border="0" align="middle" />, Its going to be released to all browsers. Its just still in development i guess. So only on firefox right now <img src="smileys/smiley1.gif" border="0" align="middle" />

  • ... Its going to be released to all browsers ...

    Not so much a question of release, as of implementation. The Web Gamepad API spec is in W3C draft at the moment, and it's up to individual browser manufacturers to implement it.

    Seeing it's still in draft, Firefox is just trying it out in their developer builds. Google also has a draft API editor, so we might see a Chrome implementation sometime soon.

    And maybe there'll be an implementation in IE12 (a buggy one, no doubt) <img src="smileys/smiley2.gif" border="0" align="middle">

  • There is something bothers me a lot...

    My gamepad is Perfect Choice PC-120391 includes vibration, it's USB Network Joystick Driver, this design looks like Playstation gamepad.

    I tried to enable my Gamepad using chrome://flags, but it didn't work and sometimes it says needs to be connected.

    I went panel control to test my gamepad it works very well, BUT it didn't work on HTML5 apps.

    Do i need report to Chrome and Firefox?

  • My gamepad, Leadership Gamer doesn't work too (latest chrome). It's not even detected. I guess html5 gamepad support still has a way to go :\</p>

  • I wouldn't bump old threads if you can, this thread is now out of date. Since this thread, Construct 2 has gained built-in support for the Gamepad API and Chrome 21 has been released with support for gamepads on by default - you don't need to change anything in chrome://flags.

    Unfortunately that means if it doesn't work then your gamepad is not recognised... possibly file a bug at crbug.com and see if Google can fix it.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)