Pygbag is a library that packages PyGame games made in Python to run in the browser using CPython wasm webassembly. It is really easy to use and deploy your games on the web, for example, on itch!
"It uses a CPython interpreter built on webassembly, and a static build of pygame on webassembly, using SDL and SDL_image and things on webassembly
Pygame’s dependencies already supported emscripten/webassembly
CPython 3.11 (upcoming) can be built for the web without needing patches, thanks to some core developer work"
Relevant links:
https://pypi.org/project/pygbag/
https://pygame-web.github.io/
https://itch.io/c/2563651/pygame-wasm
/ discord
На этой странице сайта вы можете посмотреть видео онлайн Running PyGame in the web browser with Pygbag! mini Python tutorial Wasm WebAssembly длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь FünFET 04 Сентябрь 2022, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 41,859 раз и оно понравилось 756 зрителям. Приятного просмотра!