Commit d95aeb50 by BellCodeEditor

auto save

parent 130b0862
Showing with 2 additions and 0 deletions
......@@ -21,6 +21,7 @@ for i in filelist:
if i[-4:] == ".wav" or i[-4:] == ".ogg":
music_list.append(i)
volume = 0.2
angle=0
pygame.mixer.music.set_volume(volume) # 初始播放音量
click = 0
play_button = stop_img
......@@ -85,6 +86,7 @@ while True:
pygame.mixer.music.play()
# 绘制画面
new_logo = pygame.transform.rotate(logo_img,angle)
screen.blit(bg_img, (0, 0)) # 填充背景
screen.blit(play_button, (270, 330)) # 暂停按钮
screen.blit(logo_img, (170, 60)) # 中间logo图
......
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