用户:wxid_3p5iczm572x422查看:0 回复:1 评论:0 创建时间:2022-10-21T19:11:49
【作品展示】

【作品介绍】
huijokpl
【作品源代码】
import pygame
pygame.init()
screen = pygame.display.set_mode()
screen = pygame.display.set_mode((700, 700))
bg = pygame.image.load("./images/780.jpg")
screen.blit(bg, (0, 0))
pygame.display.update()
hero = pygame.image.load("./images/OIP-C.JPG")
screen.blit(hero, (245, 480))
pygame.display.update()
while True:
for event in pygame.event.get():
if (event.type == pygame.QUIT):
pygame.QUIT()
pygame.quit()
【提示】
部分含有Python第三方库相关内容的作品,在海龟编辑器网页端无法运行哦!如遇到这种情况,可以打开下面的链接,下载海龟编辑器客户端:
https://python.codemao.cn