# 1。导包
import pygame
# 2,初始化
pygame.init()
# 3。设置窗口大小
ping_mu = pygame.display.set_mode((400,700))
#b 1。导入图片
# 4。无限循环刷新
while 1>0:
for i in pygame.event.get():
if i.type == pygame.QUIT:
pygame.quit()
# 图片放窗口上
pygame.display.update()
xinxin -飞机大战1.0
猜你喜欢
转载自blog.csdn.net/houlaos/article/details/106890089
今日推荐
周排行