Commit 9b8bca37 by BellCodeEditor

auto save

parent 61dacbaf
Showing with 4 additions and 3 deletions
......@@ -11,7 +11,7 @@ play_img = pygame.image.load('play.png') # 播放按钮
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_img = pygame.image.load('logo.png') # logo图片
music_list = []
path = "C:\\Users\\Administrator\\Desktop\\tast"
......@@ -83,8 +83,9 @@ while True:
num = 0
pygame.mixer.music.load(path + "\\" + music_list[num])
pygame.mixer.music.play()
new_logo = pygame.transform.rotate(logo_img, angle)
angle += 1
new_logo = pygame.transform.rotate(logo_img, 90)
# angle += 1
screen.blit(bg_img, (0, 0))
screen.blit(play_button, (270, 330))
screen.blit(logo_img, (170, 60))
......
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