Commit 69d7dec5 by BellCodeEditor

auto save

parent bfbb15f8
Showing with 3 additions and 0 deletions
...@@ -59,6 +59,7 @@ while True: ...@@ -59,6 +59,7 @@ 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()
play_button = stop_img play_button = stop_img
if click % 2 == 0: if click % 2 == 0:
click += 2 click += 2
...@@ -83,6 +84,8 @@ while True: ...@@ -83,6 +84,8 @@ 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()
music1
play_time=pygame.mixer.music.get_pos() play_time=pygame.mixer.music.get_pos()
play_time = int(play_time/1000) play_time = int(play_time/1000)
play_m = play_time//60 play_m = play_time//60
......
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