I'm trying to play sounds and music but no matter what I try, nothing works. I have browsed many posts and the main one I found was : Pygame, sounds don't play but still, nothing works. I have simple code, just trying to make a pop sound and I'm lost and don't know what to do at this point. can someone please help me, thanks!
Here is the code that I have messed around with :
import pygame
pygame.mixer.pre_init()
pygame.mixer.init()
import pygame.mixer
Screen = pygame.display.set_mode((800, 400))
pygame.display.set_caption("Game Test")
clock = pygame.time.Clock()
clock.tick(60)
pygame.mixer.Sound.play('pop-3.mp3')
thanks!