Commit 89bde0e5 by BellCodeEditor

save project

parent 10edd7e5
Showing with 3 additions and 3 deletions
......@@ -87,9 +87,9 @@ while True:
new_logo = pygame.transform.rotate(logo_img,angle)#旋转
new_rect = new_logo.get_rect(center = (320,200))#一直保持在中心点
pos = (new_rect[0],new_rect[1])#得到新图像的左上角,因为
if play_button == stop_img:
angle += 1 #增加度数
pos = (new_rect[0],new_rect[1])#得到新图像的左上角,因为是以左上角渲染
if play_button == stop_img:#如果是播放状态
angle += 1 #增加度数(转动)
# 绘制画面
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