8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af8ce9b commit 0913b4cCopy full SHA for 0913b4c
wiki/pygbag/README.md
@@ -23,7 +23,7 @@ You won't need to change much of your project's code to make it compatible with
23
3. Put `await asyncio.sleep(0)` anywhere in your game loop. Right after your `clock.tick()` is fine.
24
4. Put `asyncio.run(main())` at the end of the file. The game loop will be run here, so any additional lines will not be run.
25
26
-Here's a working example for what `main.py` might look like.
+Here's a working example for what `main.py` might look like ( to get a working console use -i in cpython arguments eg http://localhost:8000?-i )
27
```py
28
import asyncio
29
import pygame
0 commit comments