Commit e79ffe4e by BellCodeEditor

save project

parent 99212481
Showing with 5 additions and 2 deletions
......@@ -78,4 +78,7 @@ while True:
screen.blit(text,(540,10))
# 刷新画面
pygame.display.update()
FPSCLOCK.tick(4)
\ No newline at end of file
if KEYDOWN:
FPSCLOCK.tick(5)
else:
FPSCLOCK.tick(3)
\ 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