Skip to content

Commit

Permalink
MUSIC
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleMagocs committed Nov 18, 2012
1 parent 0c494a8 commit 632387b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def main():
world.setLevel(level)


pygame.mixer.music.load("sounds/game.mp3")
pygame.mixer.music.load("sounds/game_01.ogg")
pygame.mixer.music.play(-1)
pygame.mixer.music.set_volume(.3)
while True:
Expand All @@ -37,7 +37,8 @@ def main():

def menuScreen():
pygame.init()
pygame.mixer.music.load("sounds/menu.mp3")
pygame.mixer.init()
pygame.mixer.music.load("sounds/menu_02.ogg")
pygame.mixer.music.play(-1)
pygame.mixer.music.set_volume(.4)
surface = pygame.display.set_mode((1600,900)) #0,6671875 and 0,(6) of HDd resoultiondd
Expand Down
Binary file added sounds/game_01.ogg
Binary file not shown.
Binary file added sounds/menu_02.ogg
Binary file not shown.

0 comments on commit 632387b

Please sign in to comment.