Commit 1c1b90d3 by BellCodeEditor

auto save

parent e367d9cf
Showing with 2 additions and 1 deletions
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -15,8 +15,9 @@ pygame.mixer.music.load('歌曲4.ogg') ...@@ -15,8 +15,9 @@ 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()
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