From 457ab205b5abc7f80df8da139bbb09ad2a9b312b Mon Sep 17 00:00:00 2001 From: TRS_MML Date: Fri, 13 Jun 2025 20:37:40 +0100 Subject: [PATCH 1/3] imported pygame (big changes i know) --- __main__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/__main__.py b/__main__.py index a825f2f..c3aad2f 100644 --- a/__main__.py +++ b/__main__.py @@ -1,3 +1,5 @@ +import pygame + print("Hello world.") print("goodbye world >:3") print("A") \ No newline at end of file From aec6c7135b25d4ae7f5430a92602f75981bb648f Mon Sep 17 00:00:00 2001 From: TRS_MML Date: Fri, 13 Jun 2025 20:56:37 +0100 Subject: [PATCH 2/3] Let's actually get to work now --- __main__.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/__main__.py b/__main__.py index c3aad2f..9402c2d 100644 --- a/__main__.py +++ b/__main__.py @@ -1,5 +1,2 @@ import pygame -print("Hello world.") -print("goodbye world >:3") -print("A") \ No newline at end of file From d7a35025d8c73458613809207f00e1600bba701e Mon Sep 17 00:00:00 2001 From: TRS_MML Date: Fri, 13 Jun 2025 21:07:17 +0100 Subject: [PATCH 3/3] 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