Commit d784720f by BellCodeEditor

save project

parent 795a5092
Showing with 1 additions and 1 deletions
...@@ -15,7 +15,7 @@ clock = pygame.time.Clock() # pygame时钟,控制游戏速度(帧数) ...@@ -15,7 +15,7 @@ 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) # 字体
weizhi = [2,8]#方块位置,2、weizhi[0]行,8、weizhi[1] weizhi = [2,8]#方块位置,2、weizhi[0]为行,8、weizhi[1]为
while True: while True:
for event in pygame.event.get(): for event in pygame.event.get():
if event.type == locals.QUIT: if event.type == locals.QUIT:
......
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