Commit 532316ce by BellCodeEditor

auto save

parent 0daa6831
Showing with 2 additions and 1 deletions
......@@ -13,8 +13,9 @@ next_img = pygame.image.load('next.png') # 下一曲按钮
logo_img = pygame.image.load('logo.png') # 中间logo
pygame.mixer.music.load("歌曲4.ogg")
volume=0.2
pygame.mixer.music.set_volume(volume)
while True:
pygame.mixer.music.set_volume(volume)
for event in pygame.event.get():
if event.type == locals.QUIT:
# 接收到退出事件后退出程序
......
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