From afe503bee43d58e99ed206bd9d82a8c785fb4238 Mon Sep 17 00:00:00 2001 From: Nicholas Dyer Date: Thu, 7 Nov 2024 14:29:58 -0500 Subject: [PATCH] changed min rgp value from 0 to 32 to prevent too dark of colors --- dvd_bounce/surfaces/dvd_screen.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dvd_bounce/surfaces/dvd_screen.py b/dvd_bounce/surfaces/dvd_screen.py index bc2644c..4c7f400 100644 --- a/dvd_bounce/surfaces/dvd_screen.py +++ b/dvd_bounce/surfaces/dvd_screen.py @@ -57,9 +57,9 @@ class DVDLogo(pygame.sprite.Sprite): color_surface = pygame.Surface(self.image.get_size(), pygame.SRCALPHA) # Generate random RGB values and fill the color surface accordingly. - new_color = (random.randint(0, 255), - random.randint(0, 255), - random.randint(0, 255)) + new_color = (random.randint(32, 255), + random.randint(32, 255), + random.randint(32, 255)) color_surface.fill(new_color) # Replace the drawn image with a copy of the base image and apply the randomly generated color.