Commit d396ad2b by BellCodeEditor

save project

parent 8cf5cffb
Showing with 1 additions and 1 deletions
......@@ -78,7 +78,7 @@ while True:
# 将背景图画上去
# 悟空
if rect.x <= 0-obstacle.rect.width: # 障碍物消失
if obstacle.rect.x <= 0-obstacle.rect.width: # 障碍物消失
# 创建障碍物对象
obstacle = Block(bush,cacti,stone)
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