Commit f80fee01 by BellCodeEditor

save project

parent c4331ea7
Showing with 1 additions and 2 deletions
...@@ -14,7 +14,7 @@ next_img = pygame.image.load('next.png') # 下一曲按钮 ...@@ -14,7 +14,7 @@ next_img = pygame.image.load('next.png') # 下一曲按钮
logo_img = pygame.image.load('logo.png') # 下一曲按钮 logo_img = pygame.image.load('logo.png') # 下一曲按钮
p=[] p=[]
path='C:\\Users\\Administrator\\Desktop\\abc' path='C:\\Users\\students\\Desktop\\abc'
bb=os.listdir(path) bb=os.listdir(path)
for i in bb: for i in bb:
if i[-4:]=='.wav' or i[-4:]=='.ogg': if i[-4:]=='.wav' or i[-4:]=='.ogg':
...@@ -43,7 +43,6 @@ while True: ...@@ -43,7 +43,6 @@ while True:
if volume < 0: if volume < 0:
volume = 0 volume = 0
pygame.mixer.music.set_volume(volume) pygame.mixer.music.set_volume(volume)
# 按下鼠标 # 按下鼠标
if event.type == locals.MOUSEBUTTONDOWN: if event.type == locals.MOUSEBUTTONDOWN:
if event.button==1: if event.button==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