Python : Pygame.mixer.Sound() slows down the game -
i'm working on breakout game project in when load .ogg file there's problem fps guess , slows down paddle's , ball's speed. if change clock.tick
more 120 problem remains same. ideas why , how fix it?
pygame.mixer.pre_init(18432, -16, 2, 4096) pygame.init() if state == state_playing : sound = pygame.mixer.sound('intro.ogg').play(-1)
Comments
Post a Comment