pygame-web / pygbag

python and pygame wasm for everyone ( packager + test server + simulator )
https://github.com/pygame-web
MIT License
338 stars 39 forks source link

handle /static/ in simulator #143

Open pmp-p opened 11 months ago

pmp-p commented 11 months ago

when running in simulator redirect fopen() to local ./static/ folder to serve web assets first, not original game assets

eg in order : ./static/file.png [ same level as index.html ] ./file.png [ local original file, will be in apk ]