Commit e308102d by BellCodeEditor

auto save

parent 6f1ff6f7
Showing with 3 additions and 1 deletions
......@@ -78,8 +78,10 @@ while True:
num += 1
if num > len(music_list)-1:
num = 0
pygame.mixer.music.load(path + "\\"+music_list[num])
pygame.mixer.music.load(path + "\\" + music_list[num])
pygame.mixer.music.play() # 播放音乐
play_button = stop_img
click = 0
music1 = pygame.mixer.Sound(path + "\\" + music_list[num])
music_length = music1.get_length()
music_length = int(music_length)
......
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