上传文件至 ''
This commit is contained in:
parent
9a87fb35e9
commit
d033fe7e0a
|
@ -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()
|
Loading…
Reference in New Issue