Commit 9ae59211 by BellCodeEditor

save project

parent 49a44028
Showing with 2 additions and 2 deletions
...@@ -39,7 +39,7 @@ y = 400 ...@@ -39,7 +39,7 @@ y = 400
jumpState = "runing" jumpState = "runing"
t = 30 t = 30
road_x=0 road_x=0
gamestate=True gamestate=0
time=0 time=0
bg_x=0 bg_x=0
...@@ -55,7 +55,7 @@ while True: ...@@ -55,7 +55,7 @@ while True:
if event.key == locals.K_SPACE: if event.key == locals.K_SPACE:
jumpState = "up" jumpState = "up"
wokong=Player(hero[index]) wukong=Player(hero[index])
if jumpState=="runing": if jumpState=="runing":
index+=1 index+=1
if index>=5: if index>=5:
......
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