Commit 4b254419 by BellCodeEditor

auto save

parent 3db7444c
Showing with 2 additions and 27 deletions
import pygame import pygame
from pygame import locals
# 初始化pygame,为使用pygame做准备 # 初始化pygame,为使用pygame做准备
while True :
pygame.init() pygame.init()
bb=pygame.image.load('09daf457a600a4f6ee034a6dce468072.jpg')
# 创建一个窗口
p=pygame.image.load('apple.png')
b=pygame.image.load('bg.png')
pp=pygame.image.load('body.png')
# 创建一个窗口
pygame.display.set_mode(size=(660,480)) pygame.display.set_mode(size=(660,480))
screen.blit(b,(0,0))
screen.blit(bb,(0,0))
screen.blit(p,(55,55))
screen.blit(pp,(210,120))
screen.blit(pp,(180,120))
screen.blit(pp,(180,90))
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