Commit 3ade6572 by BellCodeEditor

save project

parent 08620b34
Showing with 7 additions and 8 deletions
...@@ -63,18 +63,17 @@ while True: ...@@ -63,18 +63,17 @@ while True:
else: else:
play_button = play_img play_button = play_img
pygame.mixer.music.pause() pygame.mixer.music.pause()
if x>120 and x<220 and y>350 and y<400: if x>120 and x<220 and y>350 and y<400:
LLL-=1 LLL-=1
if LLL<0: if LLL<0:
LLL-=1 LLL=len(sbbb)-1
LLL=len(sbbb)-1 pygame.mixer.music.load(path+"\\"+sbbb[LLL])
pygame.mixer.music.load(path+"\\"+sbbb[LLL]) pygame.mixer.music.play()
pygame.mixer.music.play()
if pygame.mixer.music.get_busy() == False: if pygame.mixer.music.get_busy() == False:
LLL+=1 LLL+=1
if LLL>len(sbbb): if LLL>len(sbbb)-1:
LLL=0 LLL=0
pygame.mixer.music.load(path+"\\"+sbbb[LLL]) pygame.mixer.music.load(path+"\\"+sbbb[LLL])
pygame.mixer.music.play() 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