Comments

Log in with itch.io to leave a comment.

(1 edit)

cool pixel art!

Working on a WebAssembly version, but I've never attempted that conversion before and not sure I'll make it by the deadline.

would you like some help with this? I used pygame and pymunk for my entry and pygbag to make the web assemby version of it

Hey yeah that would be great. Thanks for the offer!

I made a quick attempt at pygbag -- the game built fine, but the localhost version never actually did anything. Any tips would be appreciated. The source code for this game is here: https://github.com/shadowFAQs/dice-o-metric

The only changes I made for pygbag were just to make it async aware. Possibly I need to mash all the .py files into one?

(1 edit)

you shouldn't need to put them into one. direct your browser to http://localhost:8000/#debug  instead and you'll see the error. youll also need to add the requirment at the top of main

# /// script 
# dependencies = [ 
# numpy,
# pytweening,
# shapely
# ] 
# ///

Thank you, that's very helpful. I included the script block you send, but it looks like pygbag is not finding the "pytweening" module for some reason. Any suggestions?

(+1)

From reading it sounds like pygbag doesn't support it. Maybe throw the entire pytweening library as a folder in your project?