Commit 523372e7 by BellCodeEditor

save project

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