《Python编程:从入门到实践》中的小练习(1)
蓝色天空
创建一个背景为蓝色的Pygame窗口。
#coding:utf-8
import pygame
pygame.init()
screen=pygame.display.set_mode((800,600))
pygame.display.set_caption("蓝色天空")
screen.fill((64,64,255))
while True:
for event in p...
原创
2019-08-19 11:39:24 ·
697 阅读 ·
0 评论