Commit fd675c51 by BellCodeEditor

save project

parent 05d39909
Showing with 4 additions and 1 deletions
...@@ -88,7 +88,7 @@ while True: ...@@ -88,7 +88,7 @@ while True:
pygame.mixer.music.play() pygame.mixer.music.play()
music1=pygame.mixer.Sound(path+"\\"+music_list[num]) music1=pygame.mixer.Sound(path+"\\"+music_list[num])
music_lenth=music1.get_length() music_length=music1.get_length()
music_length=int(music_length) music_length=int(music_length)
...@@ -118,5 +118,7 @@ while True: ...@@ -118,5 +118,7 @@ while True:
scoreSurf=basic_font.render(info,True,(255,255,255)) scoreSurf=basic_font.render(info,True,(255,255,255))
screen.blit(scoreSurf,(12,440)) screen.blit(scoreSurf,(12,440))
scoreSurf2=basic_font.render("/"+info2,True,(0,0,0))
screen.bilt(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