Commit 66d65978 by BellCodeEditor

save project

parent 7e5f0dfd
Showing with 1 additions and 3 deletions
...@@ -30,11 +30,9 @@ index = 0 ...@@ -30,11 +30,9 @@ index = 0
y = 400 y = 400
jumpState = "runing" jumpState = "runing"
t = 30 t = 30
obstacle.rect = obstacle.get_rect()
rect.x = 1000
rect.y = 500 - rect.height
road_x=0 road_x=0
screen_x=0 screen_x=0
obstacle = Block(stone,cacti,bush)
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