← Return to game
Log in with itch.io to leave a comment.
I had quite a bit of fun playing the game!
There is an issue that I'm having on Firefox. The canvas remains square even after starting the game.
I had the same issue on my game, when using the "noctx" pygbag template. Doing this on main.py before pygame.init() fixes it:
import sys, platform ON_WEB = (sys.platform == "emscripten") if ON_WEB: platform.window.eval("window_resize()")
Glad you enjoyed it! Really appreciate you taking the time to share the Pygbag snippet. Quite helpful context for web builds. Thanks for playing!
← Return to game
Comments
Log in with itch.io to leave a comment.
I had quite a bit of fun playing the game!
There is an issue that I'm having on Firefox. The canvas remains square even after starting the game.
I had the same issue on my game, when using the "noctx" pygbag template. Doing this on main.py before pygame.init() fixes it:
import sys, platform ON_WEB = (sys.platform == "emscripten") if ON_WEB: platform.window.eval("window_resize()")Glad you enjoyed it! Really appreciate you taking the time to share the Pygbag snippet. Quite helpful context for web builds. Thanks for playing!