pygbag
Package Pygame projects as WebAssembly to run in web browsers. More information: https://github.com/pygame-web/pygbag#pygbag.
- Package a Pygame project and start a local test server:
pygbag
- Package using Python module syntax:
python -m pygbag
- Package and build without starting the test server:
pygbag --build
- Package with a specific template:
pygbag --template
- Package and create a ZIP archive for https://itch.io:
pygbag --archive
- Package with optimization turned off:
pygbag --no_opt
- Specify a custom port for the test server:
pygbag --port
- Display help:
pygbag
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
