add pygame-wasm/phantomcastle

This commit is contained in:
2024-04-02 22:17:25 +03:00
parent 8c4ec3d4cb
commit f1b7b2e860
3 changed files with 687 additions and 0 deletions
.gitignore
pygame-wasm/phantomcastle

@@ -0,0 +1,12 @@
assets_files = assets/bg1k.png assets/brick.png assets/coin.png assets/ghost.png assets/win.png
all: build/web.zip
assets:
mkdir assets
assets/%.png: assets $(../../assets/*.png)
cp ../../$@ assets/
build/web.zip: Makefile main.py $(assets_files)
pygbag --width 1000 --height 1000 --build --archive .