Commit 2f7c17bb by BellCodeEditor

auto save

parent 149fdd36
Showing with 3 additions and 0 deletions
...@@ -61,6 +61,9 @@ while True: ...@@ -61,6 +61,9 @@ while True:
num = 0 num = 0
pygame.mixer.music.load(path + "\\" + music_list[num]) pygame.mixer.music.load(path + "\\" + music_list[num])
pygame.mixer.music.play() pygame.mixer.music.play()
music = pygame.mixer.Sound(path + "\\" + music_list[num])
music_time = music.get_length()
music_time = int(music_time)
play_button = stop_img play_button = stop_img
if click % 2 == 0: if click % 2 == 0:
click += 2 click += 2
......
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