Commit a8179cb2 by BellCodeEditor

auto save

parent bc3ff440
Showing with 10 additions and 3 deletions
...@@ -4,5 +4,12 @@ list=[] ...@@ -4,5 +4,12 @@ list=[]
for i in filelist: for i in filelist:
if i[-4:]==".mav"or i[-4:] == "ogg": if i[-4:]==".mav"or i[-4:] == "ogg":
list append(i) list append(i)
pygame.mixer.music.load(path pygame.mixer.music.load(path+"\\"+music_list[num])
if x > 120 and x = if x > 120 and x <220 and y >350 and y < 400:
\ No newline at end of file num -= 1
if num < 0:
num = len(music_list)-1
pygame.mixer.music.load(path+"\\"+music_list[num])
pygame.mixer.music.play()
click = 0
play
\ No newline at end of file
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