-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Hi, saw your wonderings at end of readme. Since i have ported a number of game engines to python+wasm already, let me try to help a bit there :
todo in order, the first being the key and maybe the hardest :
- decompose app.main() infinite loop into a stepping function that you will connect later directly to requestAnimationFrame().
- once done get rid of threads, use asyncio instead : it will also solve your problem of drawing outside main thread.
- pyodide could use normal SDL2 build (ie without wajic) since SDL2 is present into pyodide initially for supporting pyxel and pygame-ce.
Metadata
Metadata
Assignees
Labels
No labels