上传文件至 ''

This commit is contained in:
203310105 2021-06-20 19:07:12 +08:00
parent 9a87fb35e9
commit d033fe7e0a
1 changed files with 16 additions and 0 deletions

16
创建基本类.py Normal file
View File

@ -0,0 +1,16 @@
import sys
def pygame
def run_game():
pygame.init()
screen = pygame.display.set_mode((1200,800))
pygame.display .set_caption("Aline Invasion")
bg_color = (230,230,230)
while True:
for event in pygame.event.get():
if event.type == pygame.QUIT:
sys.exit()
screen.fill(bg_cplor)
pygame.display.flip()
run_game()