Commit d2e3c9b9 by BellCodeEditor

save project

parent fdc01ec3
Showing with 4 additions and 3 deletions
......@@ -82,9 +82,9 @@ while True:
# screen.blit(body, (180,90))
# 将果实画上去
screen.blit(food, (apple_x, apple_y))
print(pygame.font.get_fonts())
self.font=pygame.font.SysFont(None,48)
self.font = pygame.font.SysFont('arial',48)
#print(pygame.font.get_fonts())
#self.font=pygame.font.SysFont(None,48)
#self.font = pygame.font.SysFont('arial',48)
# 刷新画面
pygame.display.update()
sj.tick(4)
\ 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