Commit 2ebc9180 by BellCodeEditor

save project

parent d91ee5e6
Showing with 4 additions and 2 deletions
...@@ -86,6 +86,7 @@ while True: ...@@ -86,6 +86,7 @@ while True:
pygame.mixer.music.play() pygame.mixer.music.play()
new_logo=pygame.transform.rotate(logo_img,angle) new_logo=pygame.transform.rotate(logo_img,angle)
new_rect=new_logo.get_rect(center=(320,200)) new_rect=new_logo.get_rect(center=(320,200))
print(pygame.time.Clock)
pos=(new_rect[0],new_rect[1]) pos=(new_rect[0],new_rect[1])
if play_button==stop_img: if play_button==stop_img:
angle+=1 angle+=1
...@@ -96,4 +97,5 @@ while True: ...@@ -96,4 +97,5 @@ while True:
screen.blit(last_img, (120, 350)) # 上一曲 screen.blit(last_img, (120, 350)) # 上一曲
screen.blit(next_img, (420, 350)) # 下一曲 screen.blit(next_img, (420, 350)) # 下一曲
# 刷新画面 # 刷新画面
pygame.display.update() pygame.display.update()
\ No newline at end of file F.tick(60)
\ 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