Commit e6e37868 by BellCodeEditor

save project

parent b8e055c9
Showing with 3 additions and 0 deletions
...@@ -21,6 +21,9 @@ index = 0 ...@@ -21,6 +21,9 @@ index = 0
y=400 y=400
jumpState="running" jumpState="running"
t=30 t=30
obstacle=random.choice([bush,stone,cacti])
rect=obstacle.get_rect()
rect.x=1000
while True: while True:
for event in pygame.event.get(): for event in pygame.event.get():
if event.type == locals.QUIT: if event.type == locals.QUIT:
......
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