Commit d240c2a7 by BellCodeEditor

save project

parent 4b9c4b7d
Showing with 8 additions and 2 deletions
......@@ -75,8 +75,14 @@ while True:
screen.blit(road, (lu_x, 500)) # 路
screen.blit(wukong, (150, y)) # 悟空
aa=Block(bush,cacti,stone)
zaw.add(aa)
time +=1
if time>60:
time = 0
num = random.randint(0,50)
if num>20:
aa=Block(bush,cacti,stone)
zaw.add(aa)
for jingling in zaw:
jingling.rect.x -=8
screen.blit(jingling.image, (jingling.rect.x, jingling.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