Commit 3f78c6f3 by BellCodeEditor

save project

parent 364d8c22
Showing with 8 additions and 2 deletions
......@@ -13,7 +13,12 @@ next_img = pygame.image.load('next.png') # 下一曲按钮
logo_img = pygame.image.load('logo.png') # 中间logo
while True:
if event.type==locals.KEYDOWN:
event.key=locals.K_UP
for event in pygame.event.get():
if event.type == locals.QUIT:
# 接收到退出事件后退出程序
exit()
......@@ -24,4 +29,5 @@ while True:
screen.blit(last_img, (120, 350)) # 上一曲
screen.blit(next_img, (420, 350)) # 下一曲
# 刷新画面
pass
pygame.display.update()
FPSCLOCK.tick(3)
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