Commit 80e46b40 by BellCodeEditor

auto save

parent ef00ae50
Showing with 4 additions and 3 deletions
# 创建面板
import pygame
from pygame import locals
pygame.init()
# 导入图片
bg=pygame.image.load('bg.png')
rt=pygame.image.load('right.png')
ae=pygame.image.load('apple.png')
by=pygame.image.load('body.png')
#
screen=pygame.display.set_mode((660,480))
while True:
for event in pygame.event.get():
#print(event)
# print(event)
if event.type==locals.QUIT:
exit()
......
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