Commit 6e4435bb by BellCodeEditor

auto save

parent 3680c7c9
Showing with 5 additions and 0 deletions
...@@ -29,6 +29,11 @@ while True: ...@@ -29,6 +29,11 @@ while True:
if v<0: if v<0:
v=0 v=0
pygame.mixer.music.set_volume(v) pygame.mixer.music.set_volume(v)
if event.type==locals.MOUSBUTTONDONW:
if click%2==0:
pygame.mixer.music.unpause()
else:
pygame.mixer.music.pause()
if event.type==locals.QUIT: if event.type==locals.QUIT:
......
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