Commit 62c3861c by BellCodeEditor

auto save

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