Commit 464956bc by BellCodeEditor

save project

parent b7c673c0
Showing with 3 additions and 3 deletions
...@@ -33,13 +33,13 @@ while True: ...@@ -33,13 +33,13 @@ while True:
if event.key==locals.K_SPACE: if event.key==locals.K_SPACE:
js='u' js='u'
if js=='u': if js=='u':
if y > 150: if y > 0.3:
y-=5 y-=100
else: else:
js='d' js='d'
if js=='d': if js=='d':
if y < 400: if y < 400:
y+=5 y+=10
else: else:
js='r' js='r'
wk = hero[index] wk = hero[index]
......
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