SeanEBaby Posted May 24, 2014 Share Posted May 24, 2014 This morning I started working on my game and the 360 controller wasn't doing anything. I tried the phaser controller examples and got nothing there either. Weirdly my controller works fine here http://www.html5rocks.com/en/tutorials/doodles/gamepad/#toc-into Anyone else got this issue? Any ideas how I can diagnose it? Sorry for the lack of info, but I don't have any! I'm using version 2.0.5 of phaser which was working fine yesterday, I'm not sure if Chrome has patched since then, but it's strange that the html5rocks example works... Edit: Everything works fine in firefox Link to comment Share on other sites More sharing options...
SeanEBaby Posted May 24, 2014 Author Share Posted May 24, 2014 Okay, I just tested this on another PC and had no issue. Any ideas how I diagnose the problem my end? Link to comment Share on other sites More sharing options...
SeanEBaby Posted May 24, 2014 Author Share Posted May 24, 2014 ....actually I think that PC was running an older version of chrome. Can anyone get the phaser game-pad support working with Version 35.0.1916.114 m Link to comment Share on other sites More sharing options...
tackle Posted May 24, 2014 Share Posted May 24, 2014 ....actually I think that PC was running an older version of chrome. Can anyone get the phaser game-pad support working with Version 35.0.1916.114 m Hey, I did the gamepad implementation in Phaser.I can confirm your issue, I just updated my Chrome and noticed it stopped working. One thing I can see is that when you call navigator.webkitGetGamepads you get a deprecation notice, but it still returns gamepads.Not sure where it fails at the moment, you'd have to look at the source code. Not sure if or when I'll be able to solve this. If I do I'll let you know! Link to comment Share on other sites More sharing options...
SeanEBaby Posted May 24, 2014 Author Share Posted May 24, 2014 Okay, cool. I thought it might be something like this... If I get time I'll have a look myself and let you know if I get anywhere. Thanks for checking Link to comment Share on other sites More sharing options...
rich Posted May 26, 2014 Share Posted May 26, 2014 This is fixed in the dev branch btw, but if you want to roll a fix into your current version of Phaser before 2.0.6 is released here is what you need to change: https://github.com/photonstorm/phaser/commit/f007a77f3d3383da94dcdbfed99b6f85adcaec7d tackle 1 Link to comment Share on other sites More sharing options...
SeanEBaby Posted May 27, 2014 Author Share Posted May 27, 2014 Awesome, thanks Link to comment Share on other sites More sharing options...
tackle Posted May 27, 2014 Share Posted May 27, 2014 Oh so THAT'S how you invoke functions... (slaps forehead). Thanks Rich! Link to comment Share on other sites More sharing options...
Recommended Posts