Commit c841abfd by BellCodeEditor

save project

parent 9113018e
Showing with 7 additions and 1 deletions
......@@ -50,9 +50,12 @@ while True:
if click % 2 == 0:
play_button = stop_img
pygame.mixer.music.unpause()
else:
play_button = play_img
pygame.mixer.music.pause()
if x > 420 and x < 520 and y > 350 and y < 400: # 下一曲
num += 1
if num > len(music_list) - 1:
......@@ -86,7 +89,10 @@ while True:
new_logo=pygame.transform.rotate(logo_img,asd)
newRcet=new_logo.get_rect(center=(320,200))
pos=(newRcet[0],newRcet[1])
asd+=100000
if play_button ==stop_img:
asd+=1
# 绘制画面
screen.blit(bg_img, (0, 0)) # 填充背景
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