Commit 255dc6b1 by BellCodeEditor

auto save

parent 42d6aeda
Showing with 5 additions and 2 deletions
......@@ -51,7 +51,9 @@ time = 0
gamestate = True
score=0
block_list =pygame.sprite.Group() # 创建精灵组
with open("record.txt","r",encoding="utf-8") as f:
fs=f.read()
while True:
for event in pygame.event.get():
if event.type == locals.QUIT:
......@@ -119,5 +121,5 @@ while True:
screen.blit(scoreSurf,(850,20))
# 刷新画面
pygame.display.update()
pygame.display.update()
FPS.tick(60)
\ No newline at end of file
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