Commit 2a792b02 by BellCodeEditor

save project

parent aa8b99e9
Showing with 1 additions and 1 deletions
...@@ -82,7 +82,7 @@ if gamestate == True: ...@@ -82,7 +82,7 @@ if gamestate == True:
obstacle=Block(bush,cacti,stone)# 创建障碍物对象 obstacle=Block(bush,cacti,stone)# 创建障碍物对象
obstacle.rect.x -= 8 obstacle.rect.x -= 8
#obstacle.draw() #obstacle.draw()
time+=1 time+=
if time>=60: if time>=60:
r=random.randint(0,100) r=random.randint(0,100)
if r>40: if r>40:
......
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