Commit 40e07ab2 by BellCodeEditor

save project

parent 1e6d36df
Showing with 6 additions and 6 deletions
...@@ -23,7 +23,7 @@ for i in filelist: ...@@ -23,7 +23,7 @@ for i in filelist:
volume = 0.2 volume = 0.2
pygame.mixer.music.set_volume(volume) # 初始播放音量 pygame.mixer.music.set_volume(volume) # 初始播放音量
click = 0 click = 0
Font=pygame.font.Font("neuropol.ttf",100) Font=pygame.font.Font("neuropol.ttf",20)
play_button = stop_img play_button = stop_img
angle=0 angle=0
while True: while True:
...@@ -77,11 +77,11 @@ while True: ...@@ -77,11 +77,11 @@ while True:
click += 2 click += 2
else: else:
click += 1 click += 1
Time=pygame.mixer.get_pos() Time=pygame.mixer.get_pos()
Time=int(Time) Time=int(Time)
Time_m=Time//60 Time_m=Time//60
Time_s=Time%60 Time_s=Time%60
info=str(Time_m)+":"+str(Time_s) info=str(Time_m)+":"+str(Time_s)
if pygame.mixer.music.get_busy() == False: if pygame.mixer.music.get_busy() == False:
num += 1 num += 1
......
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