From d7a35025d8c73458613809207f00e1600bba701e Mon Sep 17 00:00:00 2001 From: TRS_MML Date: Fri, 13 Jun 2025 21:07:17 +0100 Subject: [PATCH] First scren BABBBYYYYY --- __main__.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/__main__.py b/__main__.py index 9402c2d..172d5c3 100644 --- a/__main__.py +++ b/__main__.py @@ -1,2 +1,22 @@ import pygame +screenx = 1280 +screeny = 720 + +pygame.init() +screen = pygame.display.set_mode((screenx,screeny)) +clock = pygame.time.Clock() +running = True #you better start running... + +while running: + for event in pygame.event.get(): + if event.type == pygame.QUIT: + running = False + + screen.fill("black") + + pygame.display.flip() + + clock.tick(60) + +pygame.quit() \ No newline at end of file