Commit 347ce3fb by BellCodeEditor

auto save

parent 8a3529e8
Showing with 2 additions and 7 deletions
import pygame
from pygame import locals
# 初始化pygame,为使用pygame做准备
pygame.init()
......@@ -8,7 +6,4 @@ pygame.init()
# 创建一个窗口
screen=pygame.display.set_mode((1920,1080))
while 1:
for event in pygame.event.get():
print(pygame.event)
if event.type==locals.QUIT:
exit()
\ No newline at end of file
pass
\ 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