Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created October 31, 2020 14:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/c3718b3ec4dc5184fb60829239b5bd0b to your computer and use it in GitHub Desktop.
Save parzibyte/c3718b3ec4dc5184fb60829239b5bd0b to your computer and use it in GitHub Desktop.
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