Commit 935ddfe5 by BellCodeEditor

save project

parent ad17e0d3
Showing with 5 additions and 3 deletions
......@@ -15,7 +15,7 @@ logo_img = pygame.image.load('logo.png') # 中间logo图
basic_font = pygame.font.Font('neuropol.ttf', 14) # 字体
music_list = []
path = "C:\\Users\\bellcode\\Desktop\\test"
path = "C:\\Users\\Administrator\\Desktop\\tast"
filelist = os.listdir(path)
for i in filelist:
if i[-4:] == ".ogg" or i[-4:] == ".wav":
......@@ -126,4 +126,6 @@ while True:
scoreSurf2 = basic_font.render("/" + info2, True, (0, 0, 0))
screen.blit(scoreSurf2, (170,440))
# 刷新画面
pygame.display.update()
\ No newline at end of file
pygame.display.update()
\ No newline at end of file
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