Commit 8801fd6d by BellCodeEditor

save project

parent 43bc8cba
Showing with 1 additions and 1 deletions
...@@ -77,7 +77,7 @@ while True: ...@@ -77,7 +77,7 @@ while True:
if aa.rect.x <= 0-aa.rect.width: # 障碍物消失 if aa.rect.x <= 0-aa.rect.width: # 障碍物消失
# 创建障碍物对象 # 创建障碍物对象
aa=Block(bush,cacti,stone) aa=Block(bush,cacti,stone)
aa.rect.x -= 8 obstacle.road.x -= 8
screen.blit(obstacle.image,(obstacle.road.x,obstacle.road.y)) screen.blit(obstacle.image,(obstacle.road.x,obstacle.road.y))
......
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