Commit b24380f4 by BellCodeEditor

save project

parent c492e504
Showing with 22 additions and 2 deletions
......@@ -31,13 +31,33 @@ pygame.mixer.music.set_volume()
else:
play_botton = piay_img
pygame.mixer.music.pause()
if x>120 and x<220 and y>350 and y<450:
num -=1
if num<0:
num = len(filelist)-1
click =0
play_botton = stop_img
if x>320 and x<420 and y>350 and y<450:
num +=1
if num>len(filelist):
num = 0
click = 0
play_botton = stop_img
pygame.mixer.music.load(path+"//"+music_list[num])
pygame.mixer.music.play
if pygame.mixer.music.get__busy()==False:
num=-1
while True:
num+=1
if num > len(music_list):
if num > len(filelist):
num = 0
pygame.mixer.music.load(music_list[num])
pygame.mixer.music.load(filelist[num])
pygame.mixer.music.play()
......
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