Commit 08431702 by BellCodeEditor

save project

parent aca47a7e
Showing with 5 additions and 2 deletions
......@@ -12,8 +12,6 @@ last_img = pygame.image.load('last.png') # 上一曲按钮
next_img = pygame.image.load('next.png') # 下一曲按钮
logo_img = pygame.image.load('logo.png') # 页面
play_time=0
play_minute=play_time//60
FPS = pygame.time.Clock()
xuanzhuan=90
music_list=[]
......@@ -81,6 +79,11 @@ while True:
number=0
pygame.mixer.music.load(music_list[number])
pygame.mixer.music.play()# 绘制画面
play_time=pygame.mixer.music.get_pos()
play_time=int(play_time/1000)
play_minute=play_time//60
play_second=play_time%60
sofo=str(play_minute)+":"+str(play_second)
logodown_img = pygame.transform.rotate(logo_img,xuanzhuan) # 页面
if play_button == stop_img:
xuanzhuan+=1
......
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