Commit a4bb4f58 by BellCodeEditor

save project

parent 79cf3503
Showing with 1 additions and 2 deletions
......@@ -42,7 +42,7 @@ hero = [pygame.image.load('hero1.png'),
pygame.image.load('hero4.png'),
pygame.image.load('hero5.png')]
my_font = pygame.font.Font("STKAITI.TTF",20)
screen.blit(my_font.render("score:"+str(score),True,(123,213,231)) ,(880,20))
index = 0
y = 400
jumpState = "runing"
......@@ -122,7 +122,6 @@ while True:
sprite.score=0
print(score)
screen.blit(my_font.render("score:"+str(score),True,(123,213,231)) ,(880,20))
# 刷新画面
......
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