Commit f42763f4 by BellCodeEditor

auto save

parent 92ce4537
Showing with 2 additions and 2 deletions
...@@ -15,7 +15,7 @@ num=-1 ...@@ -15,7 +15,7 @@ num=-1
p=['歌曲1.wav',"歌曲2.wav",'歌曲3.wav'] p=['歌曲1.wav',"歌曲2.wav",'歌曲3.wav']
# 载入音乐 # 载入音乐
volume = 0.2 volume = 0.2
pygame.mixer.music.set_volume(volume) # 初始播放音量 pygame.mixer.music.set_volume(volume) # 初始播放音量
...@@ -58,7 +58,7 @@ while True: ...@@ -58,7 +58,7 @@ while True:
pygame.mixer.music.pause() pygame.mixer.music.pause()
if pygame.mixer.music.get_busy() == False: if pygame.mixer.music.get_busy() == False:
if
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