Commit f5deac4b by BellCodeEditor

auto save

parent d9f2df07
Showing with 16 additions and 8 deletions
import pygame
# 初始化pygame,为使用pygame做准备
pygame.init()
apple=pygame.image.load("bg.png")
right=pygame.image.load("boby.pang")
boby=pygame.image.load("rr")
bg=pygame.image.load("bg.png")
body=pygame.image.load("body.png")
apple=pygame.image.load("apple.png")
#left=pygame.image.load("left.png")
#neuropol=pygame.image.load("neuropol.png")
right=pygame.image.load("right.png")
#bg=pygame.image.load("")
# 创建一个窗口
screem=pygame.display.set_mode((660,480))
while True:
for i in pygame.eyent.get():
for i in pygame.event.get():
if i.type==pygame.QUIT:
exit()
screem.blit(bg,(0,0))
screem.blit(right)
screem.blit()
screem.blit()
screem.blit()
screem.blit(right,(240,120))
screem.blit(apple,(120,240))
screem.blit(body,(210,120))
screem.blit(body,(180,120))
screem.blit(body,(150,120))
pygame.display.update()
++ "b/\345\225\212\343\200\202py"
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