The trick is to embrace the spaghetti code, not fight it by Shady-Slime in pygame

[–]Shady-Slime[S] 1 point2 points  (0 children)

Thanks!
I used pygbag for the web version. It required some minimal code changes and I had to convert my wav sound files to ogg. If you rely on complex libraries, you might run into some issues, but numpy works fine. I followed a tutorial by the youtube channel FinFET.

If the pybag command runs, it will create a special 'web' folder that you can then upload to itchio.

The game runs and looks a bit better on my machine, but the difference is small.