Commit 4f2aa763 by BellCodeEditor

save project

parent e489d9ee
Showing with 1 additions and 1 deletions
...@@ -142,7 +142,7 @@ while True: ...@@ -142,7 +142,7 @@ while True:
text_surface = font.render(str(score), True, (0, 0, 0)) text_surface = font.render(str(score), True, (0, 0, 0))
screen.blit(text_surface, (350,70)) screen.blit(text_surface, (350,70))
if gameover==True: if gameover==True:
text=font_restard.render("游戏失败,按任意键开始",true,(0,0,0)) text=font_restard.render("游戏失败,按任意键开始",True,(0,0,0))
screen.blit(text,(20,250)) screen.blit(text,(20,250))
# 刷新画面 # 刷新画面
pygame.display.update() pygame.display.update()
......
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