Commit b654f81e by BellCodeEditor

save project

parent 12bb14a3
Showing with 4 additions and 1 deletions
...@@ -31,7 +31,10 @@ jumpState = "runing" ...@@ -31,7 +31,10 @@ jumpState = "runing"
t = 30 t = 30
obstacle = random.choice([bush, stone, cacti]) obstacle = random.choice([bush, stone, cacti])
rect = obstacle.get_rect() rect = obstacle.get_rect()
bg_x=0
road_x=0
time=0
sb_list=pygame.sprite.Group()
while True: while True:
for event in pygame.event.get(): 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