Commit 3917a8c8 by BellCodeEditor

save project

parent c84488ef
Showing with 2 additions and 2 deletions
...@@ -44,7 +44,7 @@ while True: ...@@ -44,7 +44,7 @@ while True:
if x>270 and x<370 and y>350 and y<450: if x>270 and x<370 and y>350 and y<450:
click += 1 click += 1
if click % 2 == 0: if click % 2 == 0:
play_button = stop_img play_button = start
pygame.mixer.music.unpause() pygame.mixer.music.unpause()
else: else:
play_button = play_img play_button = play_img
...@@ -54,7 +54,7 @@ while True: ...@@ -54,7 +54,7 @@ while True:
num+=1 num+=1
if num>len(list)-1: if num>len(list)-1:
num=0 num=0
pygame.mixer.music.losd(list[num]) pygame.mixer.music.load(list[num])
pygame.mixer.music.play() pygame.mixer.music.play()
# 绘制画面 # 绘制画面
screen.blit(bg_img, (0, 0)) # 填充背景 screen.blit(bg_img, (0, 0)) # 填充背景
......
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