From 42f16fb2b8d2f2f449f34cb0d5cc232f7ec9e7a6 Mon Sep 17 00:00:00 2001 From: "Waylon S. Walker" Date: Fri, 30 Jun 2023 08:19:35 -0500 Subject: [PATCH] show everyones lanturn --- learn_sql_model/game/light.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/learn_sql_model/game/light.py b/learn_sql_model/game/light.py index b5ee42c..0c6028c 100644 --- a/learn_sql_model/game/light.py +++ b/learn_sql_model/game/light.py @@ -52,6 +52,7 @@ class Light: (self.game.player.hero.x + _v.x, self.game.player.hero.y + _v.y), 50, ) + # draw a circle pygame.draw.circle( self.surf, @@ -60,6 +61,14 @@ class Light: self.game.player.hero.lanturn_strength, ) + for other in self.game.player.others.__root__: + pygame.draw.circle( + self.surf, + (255, 250, 205), + (other.x, other.y), + other.lanturn_strength, + ) + self.game.darkness.blit( pygame.transform.scale(self.surf, self.game.screen.get_size()).convert(), (0, 0),