Commit 457e2436 by BellCodeEditor

save project

parent 3c068fa0
Showing with 15 additions and 0 deletions
......@@ -35,3 +35,17 @@ while True:
# 刷新画面
pygame.display.update()
FPSCLOCK.tick(3)
2=[(180,90),(180,120),(210,120),(x,y)]
while :
for event in pygame.event.get():
if event.type==2.QUIT:
exit()
exit()
x+=30
2.append(x,y)
2.pop(0)
screen,blit(background,(0,0))
screen,blit(right,position[i])
screen.blit(food,(360,300))
2.display.update()
FPSCLOCK.tick(3)
\ No newline at end of file
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