Commit 4f3f01c3 by BellCodeEditor

auto save

parent b9747c66
Showing with 5 additions and 2 deletions
......@@ -2,6 +2,8 @@ import pygame
from pygame import locals
import random
kik=input("速度")
# 初始化pygame,为使用硬件做准备
pygame.init()
......@@ -99,4 +101,5 @@ while True:
screen.blit(text,(540,10))
# 刷新画面
pygame.display.update()
FPSCLOCK.tick(5)
\ No newline at end of file
FPSCLOCK.tick(str(kik))
\ 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