Commit d7f3cd32 by BellCodeEditor

save project

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