Commit 69922ae7 by BellCodeEditor

save project

parent 29573627
Showing with 7 additions and 6 deletions
......@@ -86,17 +86,18 @@ while True:
pygame.mixer.music.load(path + "\\" + music_list[num])
pygame.mixer.music.play()
#s.Surface.get_rect(center=(320,200))
else:
w=pygame.transform.rotate(q,a)
s=w.get_rect(center=(320,200))
pos=(s[0],s[1])
if play_button== stop_img:
a=a+1
screen.blit(w, pos)
w=pygame.transform.rotate(q,a)
s=w.get_rect(center=(320,200))
pos=(s[0],s[1])
#screen.blit(w, pos)
# 绘制画面
screen.blit(bg_img, (0, 0)) # 填充背景
screen.blit(play_button, (270, 330)) # 暂停按钮
#screen.blit(w, pos) # 中间logo图
screen.blit(w, pos) # 中间logo图
screen.blit(last_img, (120, 350)) # 上一曲
screen.blit(next_img, (420, 350)) # 下一曲
# 刷新画面
......
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