Commit 2c556431 by BellCodeEditor

auto save

parent 7d157eb6
Showing with 11 additions and 3 deletions
......@@ -121,9 +121,13 @@ while True:
if (sprite.rect.x + sprite.rect.width) < wukong.rect.x:
sprite += sprite.score
sprite.score = 0
if score > old_score:
score_audio
old_score = score
scoreSurf = basic_font.render("分数:"+str(score),True,(255,255,255))
screen.blit(scoreSurf,(880,20))
# 刷新画面
pygame.display.update()
FPS.tick(60)
\ No newline at end of file
{"第1名": 0, "第2名": 0, "第3名": 0}
\ No newline at end of file
bors=['i,t,y']
for i in range((bors)):
print(bors[i+1])
\ 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