Skip to content Skip to sidebar Skip to footer

Pygame Memoryerror

HI i wrote a simple block collecting program that was working just fine and dandy until i added sound. Then all the sudden i get a MemoryError which is something ive never seen bef

Solution 1:

I think you have to initialize the mixer first, before using sounds.

pygame.mixer.init(44100, -16, 2, 2048)
# Read the docs to know what these numbers are

Post a Comment for "Pygame Memoryerror"