Closed wlfyddlek closed 2 months ago
you should have only one flip/update async loop, the other menu / screens should be game states that only draw/render. You can have a look to this one it uses game states https://github.com/pmp-p/pygame-breakout-wasm/
I want to run Tetris code on the web, but the game window doesn't show up on the black screen. How do I fix this
169