Commit afbf53ae by BellCodeEditor

save project

parent 7f3585b6
Showing with 2 additions and 2 deletions
...@@ -25,8 +25,8 @@ while True: ...@@ -25,8 +25,8 @@ while True:
pygame.mixer.music.set_volume(volume) pygame.mixer.music.set_volume(volume)
if volume.key == locals.K_UP: if volume.key == locals.K_UP:
if volume < 1: if volume < 1:
volume += 0.1 volume += 0.1
pygame.mixer.music.set_volume(volume) pygame.mixer.music.set_volume(volume)
if pygame.mixer.music.get_busy() == False: if pygame.mixer.music.get_busy() == False:
pygame.mixer.musicg.play() pygame.mixer.musicg.play()
screen.blit(background,(0,0)) screen.blit(background,(0,0))
......
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