Commit cb2a4aa4 by BellCodeEditor

save project

parent bcbac850
...@@ -17,7 +17,6 @@ pygame.mixer.music.load('歌曲4.ogg') ...@@ -17,7 +17,6 @@ pygame.mixer.music.load('歌曲4.ogg')
# for event in pygame.event.get(): # for event in pygame.event.get():
# if event.type == locals.QUIT: # if event.type == locals.QUIT:
# exit() # exit()
# volume = 0.2 # volume = 0.2
# pygame.mixer.music.set_volume(volume) # pygame.mixer.music.set_volume(volume)
...@@ -49,8 +48,10 @@ while True: ...@@ -49,8 +48,10 @@ while True:
# if volume <=0: # if volume <=0:
# volume = 0 # volume = 0
# if pygame.mixer.music.get_busy() == False: #if pygame.mixer.music.get_busy() == False:
# pygame.mixer.music.play() # pygame.mixer.music.play()
if pygame.mixer.music.get_busy() == False:
pygame.mixer.music.play()
# 绘制画面 # 绘制画面
......
File added
File added
File added
File added
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