Commit 7a8e471b by BellCodeEditor

auto save

parent 43a07b66
Showing with 13 additions and 7 deletions
from pygame import * import pygame
from pygame import locals
# 初始化pygame,为使用pygame做准备 pygame.init()
init() bj=pygame.image.load('bg.png')
st=pygame.image.load('right.png')
# 创建一个窗口 pg=pygame.image.load('apple.png')
screen=display.set_mode((1920,1080)) 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