Commit 26002d24 by BellCodeEditor

save project

parent 19836673
Showing with 5 additions and 5 deletions
...@@ -13,11 +13,11 @@ next_img = pygame.image.load('next.png') # 下一曲按钮 ...@@ -13,11 +13,11 @@ next_img = pygame.image.load('next.png') # 下一曲按钮
logo_img = pygame.image.load('logo.png') # 中间logo logo_img = pygame.image.load('logo.png') # 中间logo
pygame.mixer.music.load('歌曲4.ogg') pygame.mixer.music.load('歌曲4.ogg')
while True: # while True:
#关闭窗口 # #关闭窗口
for event in pygame.event.get(): # for event in pygame.event.get():
if event.type == locals.QUIT: # if event.type == locals.QUIT:
exit() # exit()
#音量初始化 #音量初始化
volume = 0.2 volume = 0.2
#设置音量 #设置音量
......
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