Commit 1f6e57ef by BellCodeEditor

auto save

parent 382d3be5
Showing with 3 additions and 3 deletions
...@@ -55,10 +55,10 @@ while True: ...@@ -55,10 +55,10 @@ while True:
index += 1 index += 1
if index >= 5: if index >= 5:
index = 0 index = 0
bg_x -= 1 bg_x -= 2
if bg_x <= -1000: if bg_x <= -1000:
bg_x = 0 bg_x = 0
road_x -= 8 road_x -= 10
if road_x <= -1000: if road_x <= -1000:
road_x = 0 road_x = 0
...@@ -73,7 +73,7 @@ while True: ...@@ -73,7 +73,7 @@ while True:
rect = obstable.get_rect() rect = obstable.get_rect()
rect.x = 1000 rect.x = 1000
rect.y = 500 - rect.height rect.y = 500 - rect.height
rect.x -= 8 rect.x -= 10
screen.blit(obstable,(rect.x,rect.y)) screen.blit(obstable,(rect.x,rect.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