Commit 9bc08fb9 by BellCodeEditor

save project

parent a8e136b2
Showing with 1 additions and 7 deletions
......@@ -12,7 +12,6 @@ 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') # 下一曲按钮
font = pygame.font.SysFont('neuropol.ttf',50)
music_list = []
path = r"C:\Users\aki\Desktop"
......@@ -87,12 +86,7 @@ while True:
new_logo = pygame.transform.rotate(logo_img, angle)
new_rect = new_logo.get_rect(center = (320,200))
logo_x,logo_y = (new_rect[0],new_rect[1])
if play_button == stop_img:
angle += 1
play_time = (pygame.mixer.music.get_pos()//1000)
time_m = play_time//60
time_s = play_time%60
screen.
angle += 1
screen.blit(bg_img, (0, 0))
screen.blit(play_button, (270, 330))
screen.blit(new_logo, (logo_x, logo_y))
......
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