Commit 9f2e22c4 by BellCodeEditor

save project

parent 2068c623
Showing with 2 additions and 0 deletions
...@@ -60,6 +60,8 @@ while True: ...@@ -60,6 +60,8 @@ while True:
rect.x-=8 rect.x-=8
screen.blit(background,(bgx,0)) screen.blit(background,(bgx,0))
bgx-=2 bgx-=2
if bgx<-2000:
bgx=0
screen.blit(road, (roadx, 500)) screen.blit(road, (roadx, 500))
roadx-=8 roadx-=8
if roadx<-1000: if roadx<-1000:
......
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