diff --git a/config.py b/config.py index 2ebc3fa..118dc61 100644 --- a/config.py +++ b/config.py @@ -27,7 +27,10 @@ class Config: "hallway": pygame.Color(40, 44, 52), "background": pygame.Color(24, 26, 30), "square": [ - pygame.Color(0, 0, 0), # not used + pygame.Color(224, 26, 79), + pygame.Color(173, 247, 182), + pygame.Color(249, 194, 46), + pygame.Color(83, 179, 203) ] }, @@ -143,7 +146,7 @@ class Config: music_offset: Optional[int] = 0 direction_change_chance: Optional[int] = 30 hp_drain_rate = 10 - theatre_mode = False + theatre_mode = True particle_trail = True shader_file_name = "none.glsl" do_color_bounce_pegs = False diff --git a/square.py b/square.py index f79b1f2..c23e77f 100644 --- a/square.py +++ b/square.py @@ -1,4 +1,7 @@ -from glowing import make_glowy2 +try: + from glowing import make_glowy2 +except ImportError: + make_glowy2 = None from utils import * import pygame from pygame import Color @@ -94,7 +97,7 @@ def draw(self, screen: pygame.Surface, sqrect: pygame.Rect): square_color_index = round((self.dir_x + 1) / 2 + self.dir_y + 1) self.register_past_color(get_colors()["square"][square_color_index % len(get_colors()["square"])]) - if Config.theme == "dark_modern": + if Config.theme == "dark_modern" and make_glowy2 is not None: self.draw_glowing3(screen, sqrect) else: pygame.draw.rect(screen, (0, 0, 0), sqrect)