Commit d7734682 by BellCodeEditor

save project

parent 2c18d5f9
Showing with 2 additions and 11 deletions
......@@ -49,19 +49,10 @@ while True:
x,y=event.pos
if x>207 and x<370 and y>350 and y<450:
click += 1
if x>120 and x<220 and y>350 and y<450:
click -= 1
if num < 0:
num=len(music_list)-1
pygame.mixer.music.load(a+"\\"+music_list[num])
pygame.mixer.music.play()
click=0
play_button=stop_img
if click % 2 == 0:
if click % 2 == 0:
play_button = stop_img
pygame.mixer.music.unpause()
else:
else:
play_button = play_img
pygame.mixer.music.pause()
......
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