Commit 907344e5 by BellCodeEditor

save project

parent e5ca2106
Showing with 4 additions and 0 deletions
...@@ -25,7 +25,10 @@ while True: ...@@ -25,7 +25,10 @@ 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 asdd == 'run':
asdd = 'up' asdd = 'up'
else:
pass
if asdd == 'up': if asdd == 'up':
if y > 150: if y > 150:
...@@ -39,6 +42,7 @@ while True: ...@@ -39,6 +42,7 @@ while True:
else: else:
asdd = 'run' asdd = 'run'
if asdd == 'run':
hero1 = hero[index] hero1 = hero[index]
index += 1 index += 1
if index > 4: if index > 4:
......
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