-
-
Save parzibyte/c3718b3ec4dc5184fb60829239b5bd0b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sonido_fondo = pygame.mixer.Sound("fondo.wav") | |
pygame.mixer.Sound.play(sonido_fondo, -1) # Con -1 indicamos que queremos que se repita indefinidamente |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment