Help test the new Gamepad object!

Forum Home Forum Home > Construct 2 General > Construct 2 general
 Post Reply Post Reply Page  <1 23456>
Author
4,663 Rep
Post Options Post Options   Quote lanceal Quote  Post ReplyReply Direct Link To This Post Posted: 26 May 2012 at 3:04am
Is there anyway to implement the vibrate feature on the 360 controllers? I'm working on an iso type game and would like to shake the controller when under attack.
Back to Top
2,727 Rep
Post Options Post Options   Quote firebelly Quote  Post ReplyReply Direct Link To This Post Posted: 26 Jun 2012 at 12:30am
Tested with Logitech Precision Gamepad.

Chrome 20 Beta: Nothing
Firefox 16 Nightly: Nothing
Firefox 11 Gamepad Nightly: Nothing

Windows 7 sees the gamepad and I can see button clicks in the test app for the driver, so it must be an issue with the browsers.

Edited by firebelly - 26 Jun 2012 at 12:30am
Back to Top
6,512 Rep
Post Options Post Options   Quote inkBot Quote  Post ReplyReply Direct Link To This Post Posted: 26 Jun 2012 at 1:31am
Have there been any work done on this, or have more important things taken precedence? (Like exe maybe, since it was mentioned in the notes for r96 :3 )

ATM it doesn't work at all for me, in either Chrome or Firefox (even nightly). I can get around that with j2k, but I'm not expecting players to go that far.

Edited by inkBot - 26 Jun 2012 at 1:31am
Back to Top
2,727 Rep
Post Options Post Options   Quote firebelly Quote  Post ReplyReply Direct Link To This Post Posted: 26 Jun 2012 at 2:14am
Is there a way to get more debug information out of this? I'm a developer so I can understand api calls, stack traces etc. Is there anyway to see more detail about what could going wrong?

Edited by firebelly - 26 Jun 2012 at 2:14am
Back to Top

Scirra Developer
84,445 Rep
Post Options Post Options   Quote Ashley Quote  Post ReplyReply Direct Link To This Post Posted: 26 Jun 2012 at 10:47am
@firebelly - we only expose what the browser gives us. You might have to try different drivers, or try getting the browser makers to improve support.
Back to Top
2,727 Rep
Post Options Post Options   Quote firebelly Quote  Post ReplyReply Direct Link To This Post Posted: 27 Aug 2012 at 1:26am
I tested this out in google chrome at this page:
http://www.html5rocks.com/en/tutorials/doodles/gamepad/gamepad-tester/tester.html

And I get solid results, and everything is mapped perfect, but I can't seem to get the construct 2 test page to work. Let me know is there is something I can test for you to help. I have a Logitech gamepad and an XBox 360 Wired (third part madkatz but works on the normal testing page).
Back to Top
8,556 Rep
Post Options Post Options   Quote alspal Quote  Post ReplyReply Direct Link To This Post Posted: 11 Sep 2012 at 2:30am
Does this plugin work? Maybe the manual entry was released prematurely or something. It's not recognising my 360 controller (I pressed buttons and used Chrome), it works on the site firebelly posted and I just played Dark Souls using the controller too.

Edited by alspal - 11 Sep 2012 at 2:37am
Back to Top
6,512 Rep
Post Options Post Options   Quote inkBot Quote  Post ReplyReply Direct Link To This Post Posted: 11 Sep 2012 at 10:40am
It did work somewhat when it was first introduced (though even then it was iffy) but currently I think C2 has changed too much for it to work at all.
Back to Top
8,556 Rep
Post Options Post Options   Quote alspal Quote  Post ReplyReply Direct Link To This Post Posted: 11 Sep 2012 at 1:04pm
Yeah, maybe the gamepad HTML5 stuff has changed or something since it was made too.
Back to Top

Scirra Developer
84,445 Rep
Post Options Post Options   Quote Ashley Quote  Post ReplyReply Direct Link To This Post Posted: 11 Sep 2012 at 1:45pm
@alspal: I tested it in Chrome 21 and it worked fine. However in Chrome beta and canary (currently 22 and 23) it didn't work because Google tweaked the way Gamepad support worked in them. Thanks for the heads up - it's fixed to use the new way in the next build.
Back to Top
 Post Reply Post Reply Page  <1 23456>

Forum Jump Forum Permissions View Drop Down