pygame-web / pygbag

python and pygame wasm for everyone ( packager + test server + simulator )
https://github.com/pygame-web
MIT License
295 stars 34 forks source link

raylib-python-cffi wheel #164

Closed electronstudio closed 3 months ago

electronstudio commented 3 months ago

I build a new release wheel, please add: https://github.com/electronstudio/pygbag-raylib/releases/download/v5.0.0.2/raylib-5.0.0.2-cp310-abi3-wasm32_bi_emscripten.whl

pmp-p commented 3 months ago

Thanks, done in https://github.com/pygame-web/archives/commit/2f0de669b8f547619bf8b41a7116ccba8ed991b3 ! cdn will update soon, wheel will be visible for pygbag 0.9.x serie and git

pmp-p commented 3 months ago

@electronstudio on firefox that sample does not work well, maybe you know what's the problem https://pygame-web.github.io/showroom/pythongit.html#src/test_raylib_es3.py shot-2024-04-05_1712344540

source: https://github.com/pygame-web/showroom/blob/main/src/test_raylib_es3.py

electronstudio commented 3 months ago

Did it work previously with the wheel you built?

pmp-p commented 3 months ago

no not on firefox/edge neither 5.0.0.1 or 5.0.0.2

chrome / brave / safari 15 ios are ok

seems webgl differs from a browser to another

electronstudio commented 3 months ago

I don't know much about WebGL. I've had to re-write shaders before to get them to work on AMD drivers because they differ from Nvidia drivers, so yes it's likely that different implementations of WebGL compile shaders differently.