diff --git a/my_music.py b/my_music.py index 5f25227..971d302 100644 --- a/my_music.py +++ b/my_music.py @@ -64,7 +64,8 @@ while True: click += 2 else: click += 1 - + music=pygame.mixer.sound(path + "\\" + music_list[num]) + pygame. if x > 120 and x < 220 and y > 350 and y < 400: # 上一曲 num -= 1 if num < 0: @@ -103,5 +104,4 @@ while True: screen.blit(next_img, (420, 350)) # 下一曲 screen.blit(text,(120,440)) # 刷新画面 - pygame.display.update() - + pygame.display.update() \ No newline at end of file