Commit 6a6ec699 by BellCodeEditor

auto save

parent a945be96
Showing with 0 additions and 2 deletions
......@@ -15,14 +15,12 @@ clock = pygame.time.Clock() # pygame时钟,控制游戏速度(帧数)
# 载入素材
background = pygame.image.load('bg.png')
font = pygame.font.Font('STKAITI.TTF', 60) # 字体
canter
while True:
for event in pygame.event.get():
if event.type == locals.QUIT:
exit()
# 将背景图画上去
a =font.render("0",True,(0,0,0))
screen.blit(background,(0,0))
......
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