Commit e9e86c4b by BellCodeEditor

save project

parent 064ae732
Showing with 2 additions and 1 deletions
......@@ -52,6 +52,7 @@ time = 0
gamestate = True
block_list = pygame.sprite.Group()
score=0
speed=8
while True:
for event in pygame.event.get():
if event.type == locals.QUIT:
......@@ -83,7 +84,7 @@ while True:
else:
jumpState = "runing"
t = 30
speed=8+score//3
# 将背景图画上去
screen.blit(background, (bg_x, 0)) # 远处背景
screen.blit(road, (roadx, 500)) # 路
......
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