ggez / good-web-game

An alternative ggez implementation on top of miniquad.
MIT License
334 stars 30 forks source link

JS file doesnt work *WASM failed to load, probably incompatible gl.js version* #71

Open Chigo042823 opened 5 months ago

Chigo042823 commented 5 months ago

Ive converted my ggez app into the good_web_game crate, when i run it it's fine, although it does show this message: WGL: failed to create 3.2 context, trying 2.1 GL_VERSION: 4.6.0 - Build 30.0.101.3111 But all in all it runs fine locally, I've tried making it work on the browser by following the documentation but it just doesn't work no matter what gl-version-js i use. image This is what shows in the console when i copy paste your index.html (i changed the file paths accordingly to my project) I've tried the js files from the minisquad examples and also the https://psteinhaus.github.io/js/js_bundle.js link but nothing is working.

PSteinhaus commented 3 months ago

Sorry for the wait, but might it be that the change in #70 solves the issue? It's been a while since I last touched this project and likely some new miniquad-release lead to this problem, as I had forgotten to fixate the miniquad version on the exact version used, which has now been changed.

EDIT: just quickly checked (using the index.html given in the README) and for me on Ubuntu Firefox/Chromium it works (again). Fingers crossed! grafik