Commit e8894a6b by BellCodeEditor

save project

parent 308c51a4
Showing with 1 additions and 2 deletions
...@@ -11,8 +11,7 @@ FPS = 30 ...@@ -11,8 +11,7 @@ FPS = 30
# 创建窗口 # 创建窗口
screen = pygame.display.set_mode((460, 500)) screen = pygame.display.set_mode((460, 500))
pygame.display.set_caption("俄罗斯方块") pygame.display.set_caption("俄罗斯方块")
clock = pygame.time.Clock() # 游戏帧数 clock = pygame.time.Clock() # 游戏帧数# 载入素材
# 载入素材
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) # 字体
......
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