Commit a67a0436 by BellCodeEditor

save project

parent 0f6d6e83
Showing with 2 additions and 2 deletions
...@@ -65,7 +65,7 @@ while True: ...@@ -65,7 +65,7 @@ while True:
if event.type == locals.KEYDOWN: if event.type == locals.KEYDOWN:
if zt=='run': if zt=='run':
if event.key == locals.K_SPACE: if event.key == locals.K_SPACE:
t=32 t=30
zt='up' zt='up'
wukong.rect.y=y wukong.rect.y=y
# if event.key == locals.K_SPACE: # if event.key == locals.K_SPACE:
...@@ -81,7 +81,7 @@ while True: ...@@ -81,7 +81,7 @@ while True:
else: else:
zt='down' zt='down'
if zt=='down': if zt=='down':
if t<=32: if t<=30:
y+=t y+=t
wukong.rect.y=y wukong.rect.y=y
t+=2 t+=2
......
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