Commit 46739513 by BellCodeEditor

auto save

parent 1e5ff2f4
Showing with 5 additions and 2 deletions
......@@ -5,4 +5,8 @@ pygame.mixer.music.load("music4.ogg")
if pygame.mixer.music.get_busy() == false:
pygame.mixer.music.play( )
volume = 0.5
pygame.mixer.music.set_volume(volume)
\ No newline at end of file
pygame.mixer.music.set_volume(volume)
if volume > 1:
volume = 1
if volume < 0:
volume = 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