Commit 20b54192 by BellCodeEditor

save project

parent 44a50b71
Showing with 3 additions and 3 deletions
......@@ -21,7 +21,7 @@ index = 0
y = 400
jumpState = "running"
t = 30
bg _x = 0
bg_x = 0
road_x = 0
obstacle = random.choice([bush,stone,cacti])
rect = obstacle.get_rect()
......@@ -61,9 +61,9 @@ while True:
bg_x -= 1
if bg_x <= -1000:
bg_x = 0
screen.blit(background,bg_x,0)
screen.blit(background,(bg_x,0))
road_x -= 8
if road_x <= -1000
if road_x <= -1000:
road_x = 0
screen.bilt(road,road_x,500)
screen.blit(wukong,(150,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