Commit 0386e855 by BellCodeEditor

save project

parent 3b566cfd

1.4 KB | W: | H:

59.6 KB | W: | H:

body.png
body.png
body.png
body.png
  • 2-up
  • Swipe
  • Onion skin

2.01 KB | W: | H:

31.8 KB | W: | H:

down.png
down.png
down.png
down.png
  • 2-up
  • Swipe
  • Onion skin
food.png

70.9 KB

......@@ -3,9 +3,26 @@ from pygame import locals
pygame.init()
screen=pygame.display.set_mode((800,600))
bg = pygame.image.load("bg.png")
up = pygame.image.load("up.png")
down = pygame.image.load("down.png")
left = pygame.image.load("left.png")
right = pygame.image.load("right.png")
food = pygame.image.load("food.png")
body = pygame.image.load("body.png")
screen=pygame.display.set_mode((1200,800))
while True:
for event in pygame.event.get():
print(event)
if event.type == locals.QUIT:
exit()
screen.blit(bg,(0,0))
screen.blit(up,(20,200))
screen.blit(down,(60,100))
screen.blit(right,(80,150))
screen.blit(left,(120,120))
screen.blit(food,(300,200))
screen.blit(body,(700,500))
pygame.display.update()
\ No newline at end of file

2.07 KB | W: | H:

30.7 KB | W: | H:

left.png
left.png
left.png
left.png
  • 2-up
  • Swipe
  • Onion skin

2.05 KB | W: | H:

30.6 KB | W: | H:

right.png
right.png
right.png
right.png
  • 2-up
  • Swipe
  • Onion skin

2.05 KB | W: | H:

32.4 KB | W: | H:

up.png
up.png
up.png
up.png
  • 2-up
  • Swipe
  • Onion skin
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