You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry I am new to pygame zero and not sure where to get help with my issue. Anyway, after setting a window of WIDTH 800 and HEIGHT 600 as per many online pygame zero tutorials when I use the screen.fill() method in the draw function to fill that window with colour it only fills about 800 X 480 and the remainder of 800 X 600 remains black. I am using Mu Editor but the same happened with IDLE editor. Is this an aspect ratio or screen scale issue? I am using the recommended settings on both a Windows 10 and Windows 11 laptop and get the same result. Sorry if this is the wrong forum. Any help much appreciated. Thanks!
The text was updated successfully, but these errors were encountered:
Hey! I know this is a bit of a necropost, but this is explained in the docs
Pygame Zero attempts to work out when the game screen needs to be redrawn to avoid redrawing if nothing has changed.
On each step of the game loop it will draw the screen in the following situations:
If you have defined an update() function (see below).
If a clock event fires.
If an input event has been triggered.
One way this can catch you out is if you attempt to
I had the same problem early on. Just create an update function and return True or pass.
Sorry I am new to pygame zero and not sure where to get help with my issue. Anyway, after setting a window of WIDTH 800 and HEIGHT 600 as per many online pygame zero tutorials when I use the screen.fill() method in the draw function to fill that window with colour it only fills about 800 X 480 and the remainder of 800 X 600 remains black. I am using Mu Editor but the same happened with IDLE editor. Is this an aspect ratio or screen scale issue? I am using the recommended settings on both a Windows 10 and Windows 11 laptop and get the same result. Sorry if this is the wrong forum. Any help much appreciated. Thanks!
The text was updated successfully, but these errors were encountered: