Commit d7f3cd32 by BellCodeEditor

save project

parent 5bfdaf79
Showing with 7 additions and 8 deletions
...@@ -39,15 +39,14 @@ while True: ...@@ -39,15 +39,14 @@ while True:
volume -= 0.1 volume -= 0.1
if volume < 0: if volume < 0:
volume = 0 volume = 0
if event.type == locals.MOUSEBUTTONDOWN: if event.type==locals.MOUSEBUTTONDOWN:
click += 1 click+=1
if click%2 == 0: if click%2==0:
pygame.mixer.music.unpause() pygame.mixer_music.unpause()
start = stop_img play_button=stop_img
else: else:
pygame.mixer.music.pause() pygame.mixer_music.pause()()
start = play_img play_button=play_img
if volume <=0: if volume <=0:
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