Commit 577fe4e4 by BellCodeEditor

save project

parent bad3d3b4
Showing with 3 additions and 0 deletions
...@@ -29,6 +29,7 @@ click = 0 ...@@ -29,6 +29,7 @@ click = 0
play_button = stop_img play_button = stop_img
an=0 an=0
while True: while True:
fun=pygame.time.Clock()
for event in pygame.event.get(): for event in pygame.event.get():
if event.type == locals.QUIT: if event.type == locals.QUIT:
exit() exit()
...@@ -96,4 +97,5 @@ while True: ...@@ -96,4 +97,5 @@ while True:
screen.blit(last_img, (120, 350)) # 上一曲 screen.blit(last_img, (120, 350)) # 上一曲
screen.blit(next_img, (420, 350)) # 下一曲 screen.blit(next_img, (420, 350)) # 下一曲
# 刷新画面 # 刷新画面
fun.tick(3)
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