Commit c78899ff by BellCodeEditor

save project

parent 657ac524
Showing with 6 additions and 6 deletions
...@@ -24,12 +24,12 @@ while True: ...@@ -24,12 +24,12 @@ while True:
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
# 将背景图画上去 # 将背景图画上去
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