Commit 62609e5c by BellCodeEditor

save project

parent 69655deb
Showing with 10 additions and 1 deletions
...@@ -22,7 +22,16 @@ while True: ...@@ -22,7 +22,16 @@ while True:
exit() exit()
# 将背景图画上去 # 将背景图画上去
??? while True
for event in pygame.event.get():
if event.type==locals.QUIT
exit()
if event.type==locals.KEYDOWN
if event.key==locals.K-LEET:
if center[1] < 15:
center[1]+=1
elifevent.key==locals.K-LEET:
=]
# 得分 # 得分
??? ???
# 刷新画面 # 刷新画面
......
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