Commit 46da523a by BellCodeEditor

save project

parent 102af04a
Showing with 8 additions and 8 deletions
......@@ -34,14 +34,14 @@ while True:
volume=0
pygame.mixer.music.set_volume(volume)
if event.type==locals.MOUSEBUTTONDOWN:
click+=1
if click % 2==0:
play_buttun=stop_img
pygame.mixer.music.unpause()
else:
play_buttun=play_img
pygame.mixer.music.pause()
if event.type==locals.MOUSEBUTTONDOWN:
click+=1
if click % 2==0:
play_buttun=stop_img
pygame.mixer.music.unpause()
else:
play_buttun=play_img
pygame.mixer.music.pause()
if pygame.mixer.music.get_busy()==False:
......
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