2bt / bike

Bike game
https://2bt.github.io/bike
MIT License
14 stars 2 forks source link

https://2bt.github.io/bike/ no longer loads for me in Firefox #3

Closed cpressey closed 3 weeks ago

cpressey commented 3 weeks ago

Could this have something to do with a recent update to Firefox? Could this have something to do with a dependency having changed? I have no idea, but here's what I see in the browser console:

Version mismatch: gl.js version is: 2, miniquad crate version is: 262144 [mq_js_bundle.js:3:9806](https://not-fl3.github.io/miniquad-samples/mq_js_bundle.js)
    load https://not-fl3.github.io/miniquad-samples/mq_js_bundle.js:3
Plugin macroquad_audio is present in JS bundle, but is not used in the rust code. [mq_js_bundle.js:3:8926](https://not-fl3.github.io/miniquad-samples/mq_js_bundle.js)
Plugin sapp_jsutils is present in JS bundle, but is not used in the rust code. [mq_js_bundle.js:3:8926](https://not-fl3.github.io/miniquad-samples/mq_js_bundle.js)
Plugin quad_net is present in JS bundle, but is not used in the rust code. [mq_js_bundle.js:3:8926](https://not-fl3.github.io/miniquad-samples/mq_js_bundle.js)
TypeError: gl is undefined
    _webglGet https://not-fl3.github.io/miniquad-samples/mq_js_bundle.js:1
    glGetIntegerv https://not-fl3.github.io/miniquad-samples/mq_js_bundle.js:1
    load https://not-fl3.github.io/miniquad-samples/mq_js_bundle.js:3
2bt commented 3 weeks ago

Thanks for letting me know. I think there was an update to miniquad that broke compatibility. I updated the crates and now it seems to work again.