Commit abd92230 by BellCodeEditor

save project

parent 85e3971a
Showing with 6 additions and 1 deletions
......@@ -19,7 +19,12 @@ volume = 0.2
pygame.mixer.music.set_volume(volume) # 初始播放音量
click = 0
play_button = stop_img
music_list = []
path = "c:\\Users\\bellcode\\Desktop\\test"
filtelist = os.listdir(path)
for i in filelist:
if i[-4:] ==".wav" or i[-4:] ==".ogg":
music_list.append(i)
while True:
for event in pygame.event.get():
if event.type == locals.QUIT:
......
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