Commit fcf10a39 by BellCodeEditor

save project

parent ae2539f6
Showing with 4 additions and 1 deletions
......@@ -50,9 +50,11 @@ 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:
......@@ -83,8 +85,9 @@ while True:
num = 0
pygame.mixer.music.load(path + "\\" + music_list[num])
pygame.mixer.music.play()
if click%2==0:
angle-=1
new_logo=pygame.transform.rotate(logo_img,angle)
position=new_logo.get_rect(center=(320,200))
pos=(position[0],position[1])
......
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