Commit 9b9ee0c6 by BellCodeEditor

save project

parent 1d161ee1
Showing with 10 additions and 2 deletions
......@@ -20,9 +20,17 @@ while True:
for event in pygame.event.get():
if event.type == locals.QUIT:
exit()
if event.type == locals.KEYDOWN:
if center[1] < 15:
center[1]+= 1
elif event.key == locals.K_LEFT:
if cencer[1] > 1
cencer[1] -= 1
elif event.key == locals.K_DOWN:
if cencer[0] < 25:
cencer[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