Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Chigo042823 opened this issue Mar 28, 2024 · 1 comment

Comments

@Chigo042823
Copy link

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
Copy link
Member

PSteinhaus commented May 24, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants