Commit be052e7e by BellCodeEditor

auto save

parent c0b631a6
Showing with 1 additions and 5 deletions
...@@ -50,11 +50,7 @@ while True: ...@@ -50,11 +50,7 @@ while True:
# 按下鼠标 # 按下鼠标
if event.type == locals.MOUSEBUTTONDOWN: if event.type == locals.MOUSEBUTTONDOWN:
# 获取点击处的坐标 # 获取点击处的坐标
click_xy=event.pos
click_x=click_xy[0]
click_y=click_xy[1]
# 按下音乐暂停/开始按钮处
if click_x>270 and click_x<370 and click_y>350 and click_y<450:
# 次数增加 # 次数增加
click += 1 click += 1
if click % 2 == 0: if click % 2 == 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