Skip to content

cool-dev-guy/pygame-web-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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