Commit fd385a11 by BellCodeEditor

save project

parent 5d65d3ce
Showing with 5 additions and 1 deletions
......@@ -21,6 +21,9 @@ pygame.mixer.music.set_volume(volume) # 初始播放音量
click = 0
angle=0
play_button = stop_img
FPS=pygame.time.Clock()
FPS.tick(60)
while True:
for event in pygame.event.get():
......@@ -60,7 +63,8 @@ while True:
pygame.mixer.music.play()
new_logo=pygame.transform.rotate(logo_img,angle)
newrect= new_logo.get_rect(center=(320, 200))
angle+=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