Commit 62c3861c by BellCodeEditor

auto save

parent 220826c0
Showing with 1 additions and 0 deletions
...@@ -138,6 +138,7 @@ while True: ...@@ -138,6 +138,7 @@ while True:
with open("record.txt", "w",encoding='utf-8') as f: with open("record.txt", "w",encoding='utf-8') as f:
f.write(record) f.write(record)
else: else:
if sprite.rect.x + sp
scoreSurf = basic_font.render("分数:"+str(score),True,(225,225,225 )) scoreSurf = basic_font.render("分数:"+str(score),True,(225,225,225 ))
scoreSurf.blit (scoreSurf,(880,20)) scoreSurf.blit (scoreSurf,(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