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 23c55d2 commit f334705Copy full SHA for f334705
wiki/python-wasm/README.md
@@ -48,7 +48,7 @@ async def main():
48
while game_state:
49
game_state(pygame.event.get())
50
pygame.display.update()
51
- await asyncio.sleep(0)
+ await asyncio.sleep(0) # do not forget that one, it must be called on every frame
52
53
# Closing the game (not strictly required)
54
pygame.quit()
0 commit comments