-
-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
default settings producing apk #189
Comments
wasm/js and cpython stdlib are located on pygbag cdn url ( github pages) . for hosting on github pages you can use CI directly eg https://github.com/pmp-p/pygame-breakout-wasm/blob/main/.github/workflows/pygbag.yml |
Hi, thank you for your quick reply. Apologies I'm new to this! I'm not trying to create an apk - is this the default behaviour of pygbag? I'm also having issues with the cdn url. when running the index.html in debug i can see that it is linking to a non existant url:
`// this dict is available under PyConfig.config from main config = {
` would you be able to advise please? thanks in advance |
apk mode is the default because it is the proper way to ship assets from a desktop game. script mode exists, but it not suitable except for snippets / procedural assets games. your pygbag version is too old you should upgrade to 0.9.2 which use python 3.12 / 3.13 |
thank you. i've updated but these links still point to non-existant URLs |
I am trying to use pygbag to turn my py script into a web game that i can host on github pages. However, running
python -m pygbag --build main.py
creates a apk file, when i am expecting wasm.js etc.on an unrelated point, could you advise me on how to make sure my assets are included? They are in the same folder as main.py in a folder called 'assets'
many thanks in advance
The text was updated successfully, but these errors were encountered: