Commit 2442a453 by BellCodeEditor

save project

parent afbedcf8
Showing with 4 additions and 0 deletions
......@@ -26,6 +26,7 @@ click = 0
play_button = stop_img
angle=1
FPS=pygame.time.Clock()
font=pygame.font.Font("neuropol.ttf",18)
while True:
for event in pygame.event.get():
......@@ -91,6 +92,7 @@ while True:
play_a=play_time//60
play_b=play_time%60
play_c=str(play_a)+":"+str(play_b)
wee=font.render(play_c,True,(0,0,0))
new_logo=pygame.transform.rotate(logo_img,angle)
newRect=new_logo.get_rect(center=(320,200))
pos=(newRect[0],newRect[1])
......@@ -103,5 +105,6 @@ while True:
screen.blit(new_logo, pos) # 中间logo图
screen.blit(last_img, (120, 350)) # 上一曲
screen.blit(next_img, (420, 350)) # 下一曲
screen.blit(wee,(360,20))
# 刷新画面
pygame.display.update()
\ 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