Commit d3afc4ec by BellCodeEditor

save project

parent cca1f81f
Showing with 4 additions and 4 deletions
import pygame import pygame
...@@ -96,9 +96,9 @@ while True: ...@@ -96,9 +96,9 @@ while True:
time += 1 time += 1
if time >=60: if time >=60:
r = random.randint(0,100) r = random.randint(0,100)
if r>=60 : #if r>=99 :
obstacle = Block(bush,cacti,stone) obstacle = Block(bush,cacti,stone)
block_list.add(obstacle) block_list.add(obstacle)
time = 0 time = 0
for prop in block_list: for prop in block_list:
prop.rect.x -= 8 prop.rect.x -= 8
......
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