• Help
  • Not working on Firefox

Demo rpgjs(your demo) works on firefox, but if i try to compile the game myself, i am getting errors

Your browser does not support the Gamepad API - https://developer.mozilla.org/en-US/docs/Web/API/Gamepad_API joypad.min.js:6:991
WebGL context was lost. utils.es.js:112
Uncaught (in promise) TypeError: joypad.on is not a function

https://i.imgur.com/m1BSEGV.png

Any ideas how to resolve? It works on Edge and Chrome

5 days later

Hello,

Thanks for the feedback, I note it in the list of bugs on Github for a correction