Commit 080903a5 by BellCodeEditor

auto save

parent a37f5212
Showing with 1 additions and 1 deletions
...@@ -124,7 +124,7 @@ while True: ...@@ -124,7 +124,7 @@ while True:
sprite.score = 0 sprite.score = 0
if old_score<score: if old_score<score:
SB.play() SB.play()
old_score=score old_score=score
# 刷新画面 # 刷新画面
text = my_font.render("分数:"+str(score),True,(255,255,255)) text = my_font.render("分数:"+str(score),True,(255,255,255))
screen.blit(text,(920,10)) screen.blit(text,(920,10))
......
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