Commit 6dc491f6 by BellCodeEditor

save project

parent 849ae81c
Showing with 9 additions and 4 deletions
...@@ -25,10 +25,15 @@ while True: ...@@ -25,10 +25,15 @@ while True:
a.append((x,y)) a.append((x,y))
a.pop(0) a.pop(0)
screen.blit(background,(0,0)) screen.blit(background,(0,0))
screen.blit(right,a screen.blit(right,a[-1])
screen.blit(body,(210,120)) for i in range(len(a)-1):
screen.blit(body,(180,120)) screen.blit(body,a[i])
screen.blit(body,(180,90))
# screen.blit(body,(210,120))
# screen.blit(body,(180,120))
# screen.blit(body,(180,90))
screen.blit(food,(360,300)) screen.blit(food,(360,300))
pygame.display.update() pygame.display.update()
FPSCLOCK.tick(3) FPSCLOCK.tick(3)
......
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