Commit 97f81672 by BellCodeEditor

save project

parent 8c8dfa2d
Showing with 1 additions and 0 deletions
......@@ -75,6 +75,7 @@ while True:
screen.blit(road, (road_x, 500)) # 路
screen.blit(wukong, (150, y)) # 悟空
# 创建障碍物对象
if obstacle.rect.x <= 0-obstacle.rect.wid
obstacle = Block([bush,stone,cacti])
screen.blit(obstacle,image, ((obstacle.rect.x,obstacle.rect.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