Commit 820d34d9 by BellCodeEditor

save project

parent a5c69594
Showing with 2 additions and 2 deletions
...@@ -26,10 +26,10 @@ while True: ...@@ -26,10 +26,10 @@ while True:
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
# 将背景图画上去 # 将背景图画上去
screen.blit(background,(0,0)) screen.blit(background,(0,0))
# 得分 # 得分
......
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