Commit 7a8e471b by BellCodeEditor

auto save

parent 43a07b66
Showing with 13 additions and 7 deletions
from pygame import *
# 初始化pygame,为使用pygame做准备
init()
# 创建一个窗口
screen=display.set_mode((1920,1080))
import pygame
from pygame import locals
pygame.init()
bj=pygame.image.load('bg.png')
st=pygame.image.load('right.png')
pg=pygame.image.load('apple.png')
while True:
screen=pygame.display.set_mode((800,600))
screen.blit(bj,(0,0))
screen.blit(st,(210,180))
screen.blit(pg,(270,240))
pygame.display.update()
\ No newline at end of file
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