Commit 935ddfe5 by BellCodeEditor

save project

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