Commit 616bba4c by BellCodeEditor

save project

parent 3799a5a6
Showing with 3 additions and 0 deletions
...@@ -22,6 +22,9 @@ while True: ...@@ -22,6 +22,9 @@ while True:
if event.type == locals.QUIT: if event.type == locals.QUIT:
exit() exit()
if event.type == locals.MOUSEBUTTONDOWN: if event.type == locals.MOUSEBUTTONDOWN:
if event.botton == 1:
x,y = event.pos
if x >= 270 and x <= 370 and y >= 330 and y <= 430:
if click == 0: if click == 0:
click = 1 click = 1
pygame.mixer.music.pause() pygame.mixer.music.pause()
......
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