Commit 615975cb by BellCodeEditor

save project

parent cd649530
Showing with 11 additions and 2 deletions
......@@ -21,8 +21,17 @@ while True:
if event.type == locals.QUIT:
# 接收到退出事件后退出程序
exit()
for i in range(len(gb)-1)
screen.blit(body,gb[-1])
elif event.type==locals.KEYDOWN:
if event.key==locals.K_RIGHT and setheading !=""
for i in range(len(gb)-1):
screen.blit(body,gb[i])
x+=30
gb.append((x,y))
gb.pop(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