Commit 68b5fc94 by BellCodeEditor

save project

parent 0c4731ee
Showing with 4 additions and 2 deletions
......@@ -13,7 +13,7 @@ last_img = pygame.image.load('last.png') # 上一曲按钮
next_img = pygame.image.load('next.png') # 下一曲按钮
logo_img = pygame.image.load('logo.png') # 下一曲按钮
abc=0
F=pygame.time.Clock()
music_list = []
path = "C:\\Users\\EDZ\\Desktop\\text"
filelist = os.listdir(path)
......@@ -87,7 +87,7 @@ while True:
new_logo = pygame.transform.rotate(logo_img,abc)
new_rect=new_logo.get_rect(center=(320,200))
pos=(new_rect[0],new_rect[1])
if play_button==stop_img:
abc+=1
# 绘制画面
screen.blit(bg_img, (0, 0)) # 填充背景
......@@ -97,3 +97,4 @@ while True:
screen.blit(next_img, (420, 350)) # 下一曲
# 刷新画面
pygame.display.update()
F.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