Commit 5cbff95c by BellCodeEditor

save project

parent 3d901d0b
Showing with 4 additions and 3 deletions
......@@ -2,7 +2,7 @@ import pygame
from pygame import locals
import os
pygame.init() # 初始化
fps=pygame.time.Clock
# 创建窗口
screen = pygame.display.set_mode((640, 480))
# 载入图片、资源
......@@ -95,4 +95,5 @@ while True:
screen.blit(last_img, (120, 350)) # 上一曲
screen.blit(next_img, (420, 350)) # 下一曲
# 刷新画面
pygame.display.update()
\ No newline at end of file
pygame.display.update()
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