From 5bb3bb621361f9ef246c7fa366bee0c27c27a095 Mon Sep 17 00:00:00 2001 From: Dmitry Date: Fri, 29 Mar 2024 16:16:20 +0300 Subject: [PATCH] upd pygame test --- mod_pygame/test_pygame_works.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mod_pygame/test_pygame_works.py b/mod_pygame/test_pygame_works.py index b8703d4..f5eabc2 100644 --- a/mod_pygame/test_pygame_works.py +++ b/mod_pygame/test_pygame_works.py @@ -16,6 +16,11 @@ pygame.display.set_caption("Тест Pygame") draw_background_image(screen, "assets/bg1k.png") +pygame.draw.line(screen, pygame.Color("Green"), [10, 100], [700, 700], 3) +pygame.draw.rect(screen, pygame.Color("red"),(350, 20, 100, 175)) +pygame.draw.polygon(screen, pygame.Color("red"), points=[(50,100), (100,50), (350,100)]) +pygame.draw.circle(screen, pygame.Color("blue"), (500, 500), 100) + pygame.display.flip() while pygame.event.wait().type != pygame.QUIT: