Commit f2bd0c4f by BellCodeEditor

auto save

parent 8ee2ec3c
Showing with 3 additions and 4 deletions
...@@ -86,10 +86,9 @@ while True: ...@@ -86,10 +86,9 @@ 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))#一直保持在中心点
pos = (new_rect[0],new_rect[1]) pos = (new_rect[0],new_rect[1])#
angle += 1 angle += 1 #增加度数
# 绘制画面 # 绘制画面
screen.blit(bg_img, (0, 0)) # 填充背景 screen.blit(bg_img, (0, 0)) # 填充背景
......
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