Commit a129fa9a by BellCodeEditor

save project

parent 622fcd9d
Showing with 3 additions and 0 deletions
...@@ -26,6 +26,9 @@ while True: ...@@ -26,6 +26,9 @@ 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.mixerget_busy()==False:
pygame.mixer_music.play()
if event.type == locals.KEYDOWN: if event.type == locals.KEYDOWN:
if event.key == locals.K_UP: if event.key == locals.K_UP:
volume += 0.1 volume += 0.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