diff --git a/main.py b/main.py index 2bc2f6d..136cbc5 100644 --- a/main.py +++ b/main.py @@ -35,9 +35,6 @@ audio = True ################## -if audio: - intro_sound = pygame.mixer.Sound("kurwa.wav") - damping_multiplier = 1 - damping delta_time = 1 / fps @@ -115,12 +112,16 @@ for pixel in pixels_target_pos: # pygame init pygame.init() window = pygame.display.set_mode(window_size) + clock = pygame.time.Clock() # font font = pygame.font.SysFont("Arial", 20) +if audio: + intro_sound = pygame.mixer.Sound("kurwa.wav") + ############# another config stuff ##############