Commit 9e4843dd by BellCodeEditor

save project

parent dd4d79ce
Showing with 6 additions and 6 deletions
......@@ -62,16 +62,16 @@ while True:
num-=1
if len(MUSIC) == 0:
len(MUSIC)-1
pygame.mixer.music.load(MUSIC[num%len(MUSIC)])
pygame.mixer.music.load(MUSIC[num])
pygame.mixer.music.play()
play_button = stop_img
play_button = play_img
if x > 420 and x < 520 and y > 350 and y < 400:
num+=1
if len(MUSIC) == -1:
len(MUSIC)=0
pygame.mixer.music.load(MUSIC[num%len(MUSIC)])
if num > len(MUSIC)-1:
num=0
pygame.mixer.music.load(MUSIC[num])
pygame.mixer.music.play()
play_button = play_img
play_button = stop_img
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment