Commit 3e72711c by BellCodeEditor

auto save

parent 12f85ec2
Showing with 0 additions and 7 deletions
......@@ -64,11 +64,6 @@ while True:
if index >= 5:
index = 0
# 将背景图画上去
screen.blit(background,(0,0))
road_x -= 8
screen.blit(road_x,500)
screen
shan_x -=2
if shan_x <-1000:
shan_x=0
......@@ -83,8 +78,6 @@ while True:
# 创建障碍物对象
aa=Block(bush,cacti,stone)
aa.rect.x -= 8
screen.blit(aa.image, (aa.rect.x, aa.rect.y))
# 刷新画面
pygame.display.update()
......
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