Commit 836c64a3 by BellCodeEditor

auto save

parent 340dc5c7
Showing with 3 additions and 1 deletions
...@@ -3,7 +3,7 @@ from pygame import locals ...@@ -3,7 +3,7 @@ from pygame import locals
import random import random
pygame.init() # 初始化 pygame.init() # 初始化
sss=pygame.font.Font('neuropol.ttf',20)
class Block(pygame.sprite.Sprite): # 障碍物精灵类 class Block(pygame.sprite.Sprite): # 障碍物精灵类
def __init__(self,image1,image2,image3): def __init__(self,image1,image2,image3):
super().__init__() super().__init__()
...@@ -124,3 +124,4 @@ while True: ...@@ -124,3 +124,4 @@ while True:
# 刷新画面 # 刷新画面
pygame.display.update() pygame.display.update()
FPS.tick(60) FPS.tick(60)
\ 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