Commit 907b4946 by BellCodeEditor

save project

parent 486b8797
Showing with 4 additions and 4 deletions
...@@ -63,14 +63,14 @@ while True: ...@@ -63,14 +63,14 @@ while True:
num -= 1 num -= 1
if num < len(music_list): if num < len(music_list):
num = len(music_list)-1 num = len(music_list)-1
click = 0 click = 0
play_button = stop_img play_button = stop_img
if x > 320 and x < 420 and y > 350 and y < 450: if x > 320 and x < 420 and y > 350 and y < 450:
num += 1 num += 1
if num > len(music_list): if num > len(music_list):
num = 0 num = 0
click = 0 click = 0
play_button = stop_img play_button = stop_img
pygame.mixer.music.load(path+"\\"+music_list[num]) pygame.mixer.music.load(path+"\\"+music_list[num])
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