Commit 1bd13607 by BellCodeEditor

save project

parent 725590b4
Showing with 3 additions and 1 deletions
......@@ -25,8 +25,10 @@ index = 0
y = 400
jumpState = "runing"
t = 30
zhangaiwu = ([bushi,cacti,stone])#随机获得一个障碍物
zhangaiwu = ([bush,cacti,stone])#随机获得一个障碍物
xingzhuang = zhangaiwu.gut_rest()#获得障碍物的坐标和宽,高
xingzhuang.x = 1000#使障碍物的x为1000
xingzhuang.y = 500-xingzhuang.height#初始化障碍物的坐标
while True:
for event in pygame.event.get():
......
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