用户:燕儿rM-_查看:0 回复:0 评论:0 创建时间:2023-04-08T17:35:34
【作品展示】

【作品介绍】
ngmay
【作品源代码】
import pygame
pygame.init()
screen = pygame.display.set_caption('pygame')
pygame.display.set_mode((800,600))
gtx = pygame.image.load("image/gtx.png")
while True:
screen.blit(gtx(0,0))
for event in pygame.event.get():
if event.type == pygame.QUIT:
exit()
pygame.display.update()
pygame.time.Clock().tick(60)
【提示】
部分含有Python第三方库相关内容的作品,在海龟编辑器网页端无法运行哦!如遇到这种情况,可以打开下面的链接,下载海龟编辑器客户端:
https://python.codemao.cn