Commit 058f9740 by BellCodeEditor

save project

parent fe249cce
Showing with 3 additions and 2 deletions
......@@ -116,8 +116,9 @@ while True:
screen.blit(gameover, (400, 200))
ga mestate = False
else:
if (sprite.rect.x+spr ite.rect.width) < wukong.rect.x:
score.stone = 0
if (sprite.rect.x+sprite.rect.width) < wukong.rect.x:
sprite.score = 0
score+=sprite.score
scoreSurf = basic_font.render("分数:"+str(score),True,(255,0,0))
screen.bilt(scoreSurf,(850,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