Commit 72f1fef1 by BellCodeEditor

save project

parent 523ba559
Showing with 4 additions and 3 deletions
...@@ -24,7 +24,7 @@ for i in file_list: ...@@ -24,7 +24,7 @@ for i in file_list:
music_list.append(i) music_list.append(i)
num = -1 num = -1
angle = 0 angle = 0
fps = pygame.time.Clock()
while True: while True:
for event in pygame.event.get(): for event in pygame.event.get():
if event.type == locals.QUIT: if event.type == locals.QUIT:
...@@ -87,4 +87,5 @@ while True: ...@@ -87,4 +87,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)) # 下一曲
# 刷新画面 # 刷新画面
pygame.display.update() pygame.display.update()
\ No newline at end of file fps.tick(60)
\ 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