Commit 4f44d6db by BellCodeEditor

save project

parent 8d230829
Showing with 6 additions and 0 deletions
......@@ -103,6 +103,7 @@ while True:
info = str(play_m) + ':' +'0'+ str(play_s)
else:
info = str(play_m) + ':' + str(play_s)
info1 = '/' + '00' + ':' + str(music_length)
new_logo = pygame.transform.rotate(logo_img,angle)
newRect = new_logo.get_rect(center=(320,220))
......@@ -122,5 +123,9 @@ while True:
basic_font = pygame.font.Font('neuropol.ttf',18)
scoreSurf = basic_font.render(info,True,(255,255,255))
screen.blit(scoreSurf,(120,440))
basic_font1 = pygame.font.Font('neuropol.ttf',18)
scoreSurf1 = basic_font1.render(info1,True,(0,0,0))
screen.blit(scoreSurf1,(180,440))
# 刷新画面
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