Commit 44a52e83 by BellCodeEditor

save project

parent 22ff3a93
Showing with 5 additions and 3 deletions
......@@ -39,7 +39,8 @@ while True:
if event.type == locals.KEYDOWN:
# print('KEYDOWN')
if event.key == locals.K_SPACE:
jumpState = 'up'
if jumpState == 'run':
jumpState = 'up'
# print('K_SPACE')
if jumpState == 'up':
......@@ -57,8 +58,9 @@ while True:
jumpState = 'run'
t = 30
wukong = hero[index]
count += 1
wukong = hero[index]
if jumpState == 'run':
count += 1
index = int(count/6)
# print(index)
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