Commit 8a7046ef by BellCodeEditor

save project

parent d1705af1
Showing with 1 additions and 1 deletions
...@@ -84,7 +84,7 @@ while True: ...@@ -84,7 +84,7 @@ while True:
ground_x = 0 # 远处背景 ground_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,stone,cacti) obstacle =Block(bush,stone,cacti)
......
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