Commit a81ca8ad by BellCodeEditor

save project

parent efc322ce
Showing with 2 additions and 2 deletions
...@@ -54,9 +54,9 @@ time = 0 ...@@ -54,9 +54,9 @@ time = 0
gamestate = True gamestate = True
old_score=0 old_score=0
block_list =pygame.sprite.Group() # 创建精灵组 block_list =pygame.sprite.Group() # 创建精灵组
speed=8 speed=15
while True: while True:
speed=8+score//3 speed=15+score//3
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