Skip to content

Latest commit

 

History

History
18 lines (17 loc) · 574 Bytes

readme.md

File metadata and controls

18 lines (17 loc) · 574 Bytes

Pygame On Web Docs

alt text

Tool:

  • PyGbag
  • Python
  • Pygame
  • Asyncio

Work

  • cd to the folder containing your folder(game folder).
  • use: pygbag --archive (game folder) or python -m pygbag --archive (game folder)

Result

web.zip archive(upload in itch io or github.io)

Catch

  • use .ogg files or others,never use .mp3 or .wav
  • use .png/.jpg files for images dont use .bmp etc.
  • use main file as main.py

example made using the src code of @dafluffypotato