Commit 44b0b663 by BellCodeEditor

save project

parent b4c937e9
Showing with 4 additions and 0 deletions
......@@ -21,6 +21,10 @@ hero = [pygame.image.load('hero1.png'),
index = 0
jumpState = "runing"
y = 400
t=30
obstacle=random.choice([bush,stone,cacti])
rect=obstacle.get_rect()
rect.x=1000
while True:
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