Commit 3110fa8e by BellCodeEditor

save project

parent 42d354fe
Showing with 8 additions and 4 deletions
......@@ -37,18 +37,22 @@ while True:
if event.type==locals.MOUSEBUTTONDOWN:
times+=1
if times%2==0:
img_ps=play_img
img_ps=stop_img
pygame.mixer.music.unpause()
else:
img_ps=stop_img
img_ps=play _img
pygame.mixer.music.pause()
# 绘制画面
screen.blit(bg_img, (0, 0)) # 填充背景
screen.blit(stop_img, (270, 330)) # 暂停按钮
screen.blit(bg_img, (0, 0)) # 填充背景\
screen.blit(img_ps,(270, 330)) # 暂停按钮
screen.blit(logo_img, (170, 60)) # 中间logo图
screen.blit(last_img, (120, 350)) # 上一曲
screen.blit(next_img, (420, 350)) # 下一曲
......
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