Closed AuraPy closed 2 weeks ago
<script src="https://not-fl3.github.io/miniquad-samples/gl.js"></script> <!-- gl.js from miniquad repo (native/sapp-wasm/js/gl.js) -->
you want js file for macroquad, https://not-fl3.github.io/miniquad-samples/mq_js_bundle.js
or take it from https://github.com/not-fl3/macroquad/blob/master/js/mq_js_bundle.js and host alongside with your .wasm
Thank you so much! This worked for me :)
I made a game in macroquad and all is working fine on fedora 40, but when I try to compile and run it on Firefox, I get the warning "Missed function: audio_source_is_loaded" repeated an infinite amount of times along with a bunch of other warnings and all that shows up is a black screen.
index.html:
main.rs: