Commit 6dc4600f by BellCodeEditor

save project

parent af0b70ff
Showing with 3 additions and 3 deletions
......@@ -14,7 +14,7 @@ next_img = pygame.image.load('next.png') # 下一曲按钮
logo_img = pygame.image.load('logo.png') # 下一曲按钮
music_list = []
path = "C:\\Users\\bellcode\\Desktop\\test"
path = "C:\\Users\\111\\Desktop\\test"
filelist = os.listdir(path)
num = -1
for i in filelist:
......@@ -85,8 +85,8 @@ while True:
pygame.mixer.music.play()
new_logo=pygame.transform.rotate(logo_img,angle)
new_Rect=new_logo.get_rect(center=(320,200))
pos=(new_Rect[0],(new_Rect[1])
if play_button==stop_img:
pos=(new_Rect[0],new_Rect[1])
if play_button == stop_img :
angle+=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