Commit 61b05b4b by BellCodeEditor

save project

parent 007b5114
Showing with 2 additions and 0 deletions
...@@ -76,6 +76,8 @@ while True: ...@@ -76,6 +76,8 @@ while True:
road_x = 0 road_x = 0
screen.blit(road,(road_x,500)) screen.blit(road,(road_x,500))
screen.blit(wukong, (150,y)) screen.blit(wukong, (150,y))
if obstacle.rect.x <= 0-obstacle.rect.width : if obstacle.rect.x <= 0-obstacle.rect.width :
obstacle = Block(bush,cacti,stone) obstacle = Block(bush,cacti,stone)
obstacle.rect.x -=8 obstacle.rect.x -=8
......
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