Commit 3ffe7488 by BellCodeEditor

save project

parent 12f5d196
Showing with 6 additions and 6 deletions
...@@ -67,12 +67,12 @@ while True: ...@@ -67,12 +67,12 @@ while True:
play_button=stop_img play_button=stop_img
if x>420 and x<520 and y>359 and y<400: if x>420 and x<520 and y>359 and y<400:
num+=1 num+=1
if num==3: if num==3:
num=len(music_list)-4 num=len(music_list)-4
pygame.mixer.music.load(path+'\\'+music_list[num]) pygame.mixer.music.load(path+'\\'+music_list[num])
pygame.mixer.music.play() pygame.mixer.music.play()
click=0 click=0
play_button=stop_img play_button=stop_img
if pygame.mixer.music.get_busy() == False: if pygame.mixer.music.get_busy() == False:
num+=1 num+=1
if num>len(music_list[num])-1: if num>len(music_list[num])-1:
......
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