Commit 7de61177 by BellCodeEditor

auto save

parent ba6f8915
Showing with 2 additions and 1 deletions
...@@ -16,7 +16,8 @@ pygame.mixer.music.load('歌曲4.ogg') ...@@ -16,7 +16,8 @@ pygame.mixer.music.load('歌曲4.ogg')
while True: while True:
for event in pygame.event.get(): for event in pygame.event.get():
if event.type==locals.QUIT: if event.type==locals.QUIT:
exit exit
if pygame.mixer.mu
volume = 0.2 volume = 0.2
pygame.mixer.music.set_volume(volume) pygame.mixer.music.set_volume(volume)
......
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