Commit 0e05efbd by BellCodeEditor

save project

parent 4cd159ee
Showing with 3 additions and 2 deletions
......@@ -13,8 +13,6 @@ next_img = pygame.image.load('next.png') # 下一曲按钮
logo_img = pygame.image.load('logo.png') # 中间logo
pygame.mixer.music.load('歌曲4.ogg')
while True:
if pygame.mixer.music.gat_busy()==False:
pygame.mixer.music.play()
for event in pygame.event.get():
if event.type==locals.QUIT:
exit()
......@@ -24,5 +22,7 @@ while True:
screen.blit(logo_img, (170, 60)) # 中间logo图
screen.blit(last_img, (120, 350)) # 上一曲
screen.blit(next_img, (420, 350)) # 下一曲
if pygame.mixer.music.gat_busy()==False:
pygame.mixer.music.play()
# 刷新画面
pygame.display.update()
\ 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