Commit 5290763d by BellCodeEditor

auto save

parent 245154e2
Showing with 6 additions and 7 deletions
...@@ -16,15 +16,13 @@ clock = pygame.time.Clock() # pygame时钟,控制游戏速度(帧数) ...@@ -16,15 +16,13 @@ clock = pygame.time.Clock() # pygame时钟,控制游戏速度(帧数)
background = pygame.image.load('bg.png') background = pygame.image.load('bg.png')
font = pygame.font.Font('STKAITI.TTF', 60) # 字体 font = pygame.font.Font('STKAITI.TTF', 60) # 字体
while True:
for event in pygame.event.get():
if event.type == locals.QUIT:
exit()
# 将背景图画上去 # 将背景图画上去
??? ???
# 得分 # 得分
??? ???
# 刷新画面 # 刷新画面
pygame.display.update() pygame.display.update()
clock.tick(FPS) clock.tick(FPS)
\ 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