Commit 23f0a8ca by BellCodeEditor

save project

parent 1cdeae67
Showing with 3 additions and 3 deletions
......@@ -5,7 +5,7 @@ import os
pygame.init() # 初始化
# 创建窗口
screen = pygame.display.set_mode((640, 480))
FPS=pygam.time.Clock()
FPS=pygame.time.Clock()
bg_img = pygame.image.load('background.png') # 背景图
play_img = pygame.image.load('play.png') # 播放按钮
......@@ -105,4 +105,4 @@ while True:
screen.blit(next_img, (420, 350)) # 下一曲
# 刷新画面
pygame.display.update()
FPS.tick(60)
\ No newline at end of file
FPS.tick(120)
\ 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