Commit fdd82211 by BellCodeEditor

save project

parent a989f598
Showing with 3 additions and 1 deletions
...@@ -31,7 +31,9 @@ while True: ...@@ -31,7 +31,9 @@ while True:
if volume<0 if volume<0
volume=0 volume=0
if event.type==locals.MOUSEBUTTONDOWN: if event.type==locals.MOUSEBUTTONDOWN:
chick+=1 if event .button==1:
x,y = event.pos
if x >270 and x<370and y > 350 and y < 450 chick+=1
if chick%2==0: if chick%2==0:
pygame.mixer.music.unpause() pygame.mixer.music.unpause()
play_button=stop_img play_button=stop_img
......
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