Commit 55568f3f by BellCodeEditor

auto save

parent c65f1df2
...@@ -8,10 +8,10 @@ pygame.init() ...@@ -8,10 +8,10 @@ pygame.init()
screen = pygame.display.set_mode((660, 480)) screen = pygame.display.set_mode((660, 480))
# 背景 # 背景
#background = pygame.image.load('bg.png') background = pygame.image.load('bg.png')
#right = pygame.image.load('right.png') right = pygame.image.load('right.png')
#food = pygame.image.load('apple.png') food = pygame.image.load('apple.png')
#body = pygame.image.load('body.png') body = pygame.image.load('body.png')
while True: while True:
for event in pygame.event.get(): for event in pygame.event.get():
......
apple.png

2.05 KB

bg.png

22.5 KB

body.png

1.4 KB

down.png

2.01 KB

left.png

2.07 KB

right.png

2.05 KB

up.png

2.05 KB

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