Commit 271de403 by BellCodeEditor

save project

parent ed06cb7e
Showing with 3 additions and 3 deletions
...@@ -29,9 +29,9 @@ while True: ...@@ -29,9 +29,9 @@ while True:
exit() exit()
if event.type == locals.KEYDOWN: if event.type == locals.KEYDOWN:
if event.key == locals.K_SPACE: if event.key == locals.K_SPACE:
if k = 1: if k >= 1:
jump = 'up' jump = 'up'
k = 0 k -= 1
...@@ -48,7 +48,7 @@ while True: ...@@ -48,7 +48,7 @@ while True:
else: else:
jump = 'run' jump = 'run'
t = 20 t = 20
k = 1 k = 2
wukong=hero[index] wukong=hero[index]
if jump == 'run': if jump == 'run':
index += 1 index += 1
......
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