When running a pygame project in replit, the output window is very small and the screen does not automatically adjust. Does anyone have a way of quickly resizing the window (other than resizing all of the panes)?
I’ve seen students do it, and they’ve tried to show me, but it never seems to work for me.
I’m back to using pygame in replit this semester. Earlier this semester you seemed to have the solution for resizing the window using pygame.FULLSCREEN.
It doesn’t seem to be working for us. It still seems to be zoomed in (cropping the window to the slider size). Can we not have a smaller work area and have the window be resized accordingly?
Could you take a look here (I’m not sure if you can access this replit or not): https://replit.com/@ICS3U1012122/90-Basic-Graphics-MichaelF8#main.py
Thanks sm for sharing these additional details! I asked around on our team and we think it may be because the two projects are running different versions of pygame. If the repls were created at slightly different times (and because Team repls may get updated on a different schedule than personal repls), it’s possible that one was updated before the other.
To get the exact same behavior, you can copy the poetry.lock and pyproject.toml files from the correct repl into the repl with unexpected behavior.
Update: When I reloaded both tabs (the private and team repl) the pygame window was full screen again, which is great.
So I’m still wondering why the poetry and pyproject files are not good on the creation of a new pygame team repl.