Help test the new Gamepad object!

Discussion and feedback on Construct 2

Post » Sat May 26, 2012 3:04 am

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.
B
69
S
21
G
15
Posts: 701
Reputation: 15,629

Post » Tue Jun 26, 2012 12:30 am

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.firebelly2012-06-26 00:30:47
B
30
S
10
G
7
Posts: 416
Reputation: 7,239

Post » Tue Jun 26, 2012 1:31 am

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.inkBot2012-06-26 01:31:51
B
73
S
20
G
10
Posts: 524
Reputation: 9,896

Post » Tue Jun 26, 2012 2:14 am

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?firebelly2012-06-26 02:14:51
B
30
S
10
G
7
Posts: 416
Reputation: 7,239

Post » Tue Jun 26, 2012 10:47 am

@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.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Mon Aug 27, 2012 1:26 am

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).
B
30
S
10
G
7
Posts: 416
Reputation: 7,239

Post » Tue Sep 11, 2012 2:30 am

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.alspal2012-09-11 02:37:39
B
134
S
65
G
16
Posts: 1,766
Reputation: 19,190

Post » Tue Sep 11, 2012 10:40 am

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.
B
73
S
20
G
10
Posts: 524
Reputation: 9,896

Post » Tue Sep 11, 2012 1:04 pm

Yeah, maybe the gamepad HTML5 stuff has changed or something since it was made too.
B
134
S
65
G
16
Posts: 1,766
Reputation: 19,190

Post » Tue Sep 11, 2012 1:45 pm

@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.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

PreviousNext

Return to Construct 2 General

Who is online

Users browsing this forum: BBaller1337 and 16 guests