Commit 2458d17c by BellCodeEditor

save project

parent ca8cc2d6
Showing with 8 additions and 1 deletions
...@@ -54,7 +54,14 @@ while True: ...@@ -54,7 +54,14 @@ while True:
else: else:
p=play_img p=play_img
pygame.mixer.music.pause() pygame.mixer.music.pause()
if x>120 and x<170 and y>350 and y<400:
n-=1
if n<0:
n=len(mu)-1
pygame.mixer.music.load(path+'\\'+mu[n])
pygame.mixer.music.play()
p=stop_img
c=0
if pygame.mixer.music.get_busy()==False: if pygame.mixer.music.get_busy()==False:
n+=1 n+=1
if n>len(f)-1: if n>len(f)-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