Commit 6a50ee33 by BellCodeEditor

save project

parent 14bd3aa2
Showing with 2 additions and 7 deletions
import pygame
from pygame inport locals
# 初始化pygame,pd为使用pygame做准备
pygame.init()
# 创建一个窗口
screen=pygame.display.set_mode((800,600))
whil True:
for event in pygame.event.gat():
if event.type==locals.QUITE:
exit()
\ No newline at end of file
screen=pygame.display.set_mode((660,480))
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment