Commit 094adec8 by BellCodeEditor

auto save

parent 21b4f5b4
Showing with 2 additions and 2 deletions
......@@ -19,7 +19,7 @@ clock = pygame.time.Clock() # pygame时钟,控制游戏速度(帧数)
# 载入素材
background = pygame.image.load('bg.png')
font = pygame.font.Font('STKAITI.TTF', 60)
font_new = pygame.font.Font('STKAITI.TTF', 25) # 字体
font_new = pygame.font.Font('STKAITI.TTF', 35) # 字体
# 俄罗斯方块所有形状
O = [[(0, 0), (0, 1), (1, 0), (1, 1)]]
......@@ -153,7 +153,7 @@ while True:
screen.blit(text_surface, (350,70))
if gameover==True:
test=font_new.render('GAME OVER',True,(0,0,0))
screen.blit(test,(20,250))
screen.blit(test,(100,220))
score=0
num=[]
for i in range(25):
......
File added
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