Commit 6727c4a5 by BellCodeEditor

save project

parent da0dd8d2
Showing with 2 additions and 1 deletions
...@@ -76,7 +76,8 @@ while True: ...@@ -76,7 +76,8 @@ while True:
pygame.mixer.music.load(path + "\\" + music_list[num]) pygame.mixer.music.load(path + "\\" + music_list[num])
pygame.mixer.music.play() pygame.mixer.music.play()
loge=pygame.transform.rotate(logo_img,angle) loge=pygame.transform.rotate(logo_img,angle)
angle += 1 if play_button == stop_img:
angle += 1
pos=loge.get_rect(center=(320,200)) pos=loge.get_rect(center=(320,200))
screen.blit(bg_img, (0, 0)) # 填充背景 screen.blit(bg_img, (0, 0)) # 填充背景
screen.blit(play_button, (270, 330)) # 暂停按钮 screen.blit(play_button, (270, 330)) # 暂停按钮
......
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