Questions tagged [pygame-mixer]

pygame module that contains classes for loading Sound objects and controlling playback.

17 questions
0
votes
1 answer

Random.Choice always the same result

Some pretext that's maybe useful idk. I use mixer and am trying to do a random music choice but the random.choice always take the last one (song 5). This is my code if Mamp=='1': vad=input("[1] Bakground music") #Mixer…
CobraCabbe
  • 105
  • 6
-1
votes
0 answers

Why is my pygame game not playing the song that I qued when I play it in the web

So I created a game in pygame but I have a very weird problem where it plays the qued song on the computer and when converted to exe but wont play when I used pygbag to put it on the web. Here is the code for the music. (There are questions about…
1
2