R
R
ROMANGOin2021-10-04 21:52:20
pygame
ROMANGOin, 2021-10-04 21:52:20

Pygame doesn't see the mp3 music file. What to do?

What to do if the music file is not seen by pygame?

Is this possible in pygame?:

import pygame
pygame.init()
powerup = pygame.mixer.Sound('Jeremy Blake - Powerup!.mp3')
clock = pygame.time.Clock()
def song(song):
pygame.mixer.music.stop()
song.play()
song(powerup)

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question