Commit af8de20c by BellCodeEditor

save project

parent c5d6e28a
Showing with 4 additions and 1 deletions
......@@ -11,7 +11,9 @@ stop_img = pygame.image.load('stop.png') # 暂停按钮
last_img = pygame.image.load('last.png') # 上一曲按钮
next_img = pygame.image.load('next.png') # 下一曲按钮
logo_img = pygame.image.load('logo.png') # 中间logo
FPS=pygame.time.clock()
FPS=pygame.time.Clock()
pygame.mixer.music.load("歌曲4.ogg")
pygame.mixer.music.play()
while True:
for event in pygame.event.get():
if event.type==locals.QUIT:
......@@ -24,4 +26,5 @@ while True:
screen.blit(last_img, (120, 350)) # 上一曲
screen.blit(next_img, (420, 350)) # 下一曲
# 刷新画面
pygame.display.update()
FPS.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