Commit 609e1e79 by BellCodeEditor

auto save

parent c6188a1e
Showing with 15 additions and 2 deletions
...@@ -4,4 +4,18 @@ import pygame ...@@ -4,4 +4,18 @@ import pygame
pygame.init() pygame.init()
# 创建一个窗口 # 创建一个窗口
??
\ No newline at end of file screen = pygame.display.set_mode((660,480))
bg = pygame.image.load('bg.png')
body = pygame.image.load('body.png')
right = pygame.image.load('right.png')
apple = pygame.image.load('apple.png')
while True:
for event in pygame.event.set():
if event.type == local.QUIT:
exit()
screen.bilit(bg,(0,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