Commit 09cbedf8 by BellCodeEditor

auto save

parent e5d8d183
Showing with 41 additions and 1 deletions
......@@ -16,7 +16,7 @@ while True:
for event in pygame.event.get():
if event.type == locals.QUIT:
exit()
if p
# 绘制画面
screen.blit(bg_img, (0, 0)) # 填充背景
screen.blit(stop_img, (270, 330)) # 暂停按钮
......@@ -25,3 +25,43 @@ while True:
screen.blit(next_img, (420, 350)) # 下一曲
# 刷新画面
pygame.display.update()
ovlume -= 0.1
if ovlume<0:
ovlume=0
pygame.mixer.music.set_volume(volume)
if event
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