Commit 722b7d8b by BellCodeEditor

save project

parent 7a04fc88
Showing with 9 additions and 1 deletions
......@@ -31,6 +31,13 @@ while True:
if event.buttons ==1:
x,y=event.pos
if x>270 and x<370 and y>350 and y < 450:
click+=1
if click%2==0:
play_buttion=stop_img
pygame.mixer.music.unpause()
else:
play_buttion=play_img
pygame. mixer.music.pause()
w=w+1Windows PowerShell
if w%2==0:
......@@ -74,4 +81,4 @@ while True:
screen.blit(last_img, (120, 350)) # 上一曲
screen.blit(next_img, (420, 350)) # 下一曲
# 刷新画面
pygame.display.update()
pygame.display.update()
\ No newline at end of file
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