hello friends. How can I create game window for any game with pygame?
HELLO everyone . i need help.
Here's the code to have the screen render a solid color and update. If you need anymore help than tell me and i can help you. I have spent a long time using pygame and know it pretty well.
screen = pygame.display.set_mode((800, 600))
running = True
for event in pygame.event.get():
if event.type ==pygame.quit:
if not running:
screen.fill((225, 225, 225)) # replace the tupple with your desiered color