Commit a5c69594 by BellCodeEditor

save project

parent 048c911a
Showing with 2 additions and 2 deletions
...@@ -23,10 +23,10 @@ while True: ...@@ -23,10 +23,10 @@ while True:
if event.type==locals.KEYDOWN: if event.type==locals.KEYDOWN:
if event.KEY==locals.d: if event.KEY==locals.d:
if center[1]<15: if center[1]<15:
center[1]=center[1]-1 center[1]=center[1]+1
elif event.KEY==locals.a: elif event.KEY==locals.a:
if center[1]>1: if center[1]>1:
center[1]=center[1]+1 center[1]=center[1]-1
elif event.KEY==locals.s: elif event.KEY==locals.s:
if center[0]<25: if center[0]<25:
center[0]=center[0]-1 center[0]=center[0]-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