Commit efacc141 by BellCodeEditor

save project

parent 127d5cec
Showing with 3 additions and 1 deletions
......@@ -81,12 +81,14 @@ while True:
num += 1
if num > len(music_list)-1:
num = 0
new_logo=pygame.transform.rotate(logo_img,angle)
newRect=new_logo.get_rect(center=(320,200))
pos=(newRect[0],newRect[1])
pygame.mixer.music.load(path + "\\" + music_list[num])
pygame.mixer.music.play()
angle+=1
if play_button==stop_img:
angle+=10
# 绘制画面
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