Commit 25462497 by BellCodeEditor

save project

parent 130b0862
Showing with 4 additions and 0 deletions
...@@ -85,6 +85,10 @@ while True: ...@@ -85,6 +85,10 @@ while True:
pygame.mixer.music.play() pygame.mixer.music.play()
# 绘制画面 # 绘制画面
new_logo = pygame.transform.rotate(logo_ing, angle)
newRect = new_logo.get_rect=(320,200))
print(newRect)
angle += 1
screen.blit(bg_img, (0, 0)) # 填充背景 screen.blit(bg_img, (0, 0)) # 填充背景
screen.blit(play_button, (270, 330)) # 暂停按钮 screen.blit(play_button, (270, 330)) # 暂停按钮
screen.blit(logo_img, (170, 60)) # 中间logo图 screen.blit(logo_img, (170, 60)) # 中间logo图
......
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