Commit 87088c11 by BellCodeEditor

save project

parent 16721d51
Showing with 3 additions and 2 deletions
......@@ -120,8 +120,9 @@ while True:
if sprite.rect.x + sprite.rect.width < wukong.rect.x:
score += sprite.score
sprite.score = 0
scoreSurf = basic_font.render("分数:"+str(score),True,(255,0,0))
screen.blit(scoreSurf,(850,20))
scoresurf = basic_font.render("分数:"+str(score),True,(255,25;
screen,blit(scoresurf,(880,20))
# 刷新画面
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