Commit c2f701a0 by BellCodeEditor

save project

parent 3ade913d
Showing with 5 additions and 2 deletions
......@@ -2,6 +2,7 @@ import pygame
from pygame import locals
import os
pygame.init() # 初始化
myfont=pygame.font.Font("neuropol.ttf",15)
# 创建窗口
screen = pygame.display.set_mode((640, 480))
# 载入图片、资源
......@@ -102,5 +103,7 @@ while True:
screen.blit(next_img, (420, 350)) # 下一曲
# 刷新画面
text=myfont.render(info,True,(0,0,0))
screen.blit(text,(50,440))
pygame.display.update()
FPS.tick(100)
\ No newline at end of file
FPS.tick(100000000)
\ 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