Commit 2a10794f by BellCodeEditor

save project

parent da0c9686
Showing with 2 additions and 2 deletions
...@@ -20,7 +20,7 @@ hero = [pygame.image.load('hero1.png'), ...@@ -20,7 +20,7 @@ hero = [pygame.image.load('hero1.png'),
index = 0 index = 0
y = 400 y = 400
jumpState = "runing" jumpState = "runing"
stone_x = "runing" stone_x = 1000
while True: while True:
for event in pygame.event.get(): for event in pygame.event.get():
...@@ -42,7 +42,7 @@ while True: ...@@ -42,7 +42,7 @@ while True:
jumpState == "runing" jumpState == "runing"
wukong = hero[index] wukong = hero[index]
if jumpState == "runing" if jumpState == "runing":
index += 1 index += 1
if index >= 5: if index >= 5:
index = 0 index = 0
......
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