Commit f1b0d824 by BellCodeEditor

save project

parent 04b9cba9
Showing with 2 additions and 2 deletions
...@@ -34,10 +34,10 @@ while True: ...@@ -34,10 +34,10 @@ while True:
click+=1 click+=1
if click%2 == 1: if click%2 == 1:
pygame.mixer.music.unpause() pygame.mixer.music.unpause()
screen.blit(play_img, (270, 330)) zaoxing=play_img
if click%2 == 0: if click%2 == 0:
pygame.mixer.music.pause() pygame.mixer.music.pause()
screen.blit(stop_img, (270, 330)) zaoxing=stop_img
if pygame.mixer.music.get_busy()==False: if pygame.mixer.music.get_busy()==False:
pygame.mixer.music.play() pygame.mixer.music.play()
# 绘制画面 # 绘制画面
......
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