Commit f314aac7 by BellCodeEditor

save project

parent 9db4f8bd
Showing with 2 additions and 0 deletions
...@@ -27,6 +27,7 @@ pygame.mixer.music.set_volume(volume) # 初始播放音量 ...@@ -27,6 +27,7 @@ pygame.mixer.music.set_volume(volume) # 初始播放音量
click = 0 click = 0
play_button = stop_img play_button = stop_img
angle=0 angle=0
FPSCLOCK=pygame.time.Clock()
while True: while True:
for event in pygame.event.get(): for event in pygame.event.get():
...@@ -97,3 +98,4 @@ while True: ...@@ -97,3 +98,4 @@ while True:
screen.blit(next_img, (420, 350)) # 下一曲 screen.blit(next_img, (420, 350)) # 下一曲
# 刷新画面 # 刷新画面
pygame.display.update() pygame.display.update()
FPSCLOCK.tick(60)
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