Commit 7b78984f by BellCodeEditor

save project

parent 4ca9c09e
Showing with 5 additions and 2 deletions
......@@ -38,7 +38,7 @@ while True:
volume = 0
pygame.mixer.music.set_volume(volume)
if event.type == locals.MOUSEBUTTONDOWN:
click += 1
if click%2 == 0:
pygame.mixer.music.unpause()
......@@ -46,10 +46,13 @@ while True:
else:
pygame.mixer.music.pause()
start = play_img
if volume <=0:
volume = 0
if pygame.mixer.music.get_busy() == False:
nm+=1
if num>len(music_list)-1:
num=0
pygame.mixer.music.load(music_list[num])
pygame.mixer.music.play()
......
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